summaryrefslogtreecommitdiff
path: root/cpp/src/qpid
Commit message (Collapse)AuthorAgeFilesLines
* Last member of a cluster always has clean store.Alan Conway2010-02-253-3/+15
| | | | | | | | | | When a cluster is reduced to a single broker, it marks its store as clean regardless of how it is shut down. If we're down to a single member we know we want to use its store to recover as there are no others. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@916475 13f79535-47bb-0310-9956-ffa450edef68
* Removed unecessary include of Msg.h in Exception.hAndrew Stitcher2010-02-2513-0/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@916453 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-2413 Rajith Muditha Attapattu2010-02-183-11/+38
| | | | | | | | Added a mechanism to catch the lexical cast errors and print an error message. I also fixed up some formatting as well. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@911509 13f79535-47bb-0310-9956-ffa450edef68
* Deallocate rdma state when closing an rdma connectionAndrew Stitcher2010-02-171-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@911209 13f79535-47bb-0310-9956-ffa450edef68
* SSL changes for broker listening that weren't checked in with the original ↵Stephen D. Huston2010-02-171-4/+4
| | | | | | Windows broker SSL support (QPID-1403). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@910785 13f79535-47bb-0310-9956-ffa450edef68
* QMF Messages originated from the broker don't have a routing-key field in ↵Ted Ross2010-02-161-0/+5
| | | | | | | | | the delivery properties. This update fixes this bug. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@910772 13f79535-47bb-0310-9956-ffa450edef68
* When handling coalesced sets of SSL segments, ensure the buffer obtained to ↵Stephen D. Huston2010-02-151-2/+9
| | | | | | hold the extra data is big enough. Resolves QPID-2407. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@910338 13f79535-47bb-0310-9956-ffa450edef68
* Added handling for adjusting TTL on outgoing message based on how long a ↵Kim van der Riet2010-02-153-0/+12
| | | | | | message has been on the queue. Added a new TTL test as ClientSessionTest.testTtl. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@910289 13f79535-47bb-0310-9956-ffa450edef68
* I have added the license header to the files included in this commit.Rajith Muditha Attapattu2010-02-121-0/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@909641 13f79535-47bb-0310-9956-ffa450edef68
* Changes needed for QPID-2029 (Clustering and Management don't work well ↵Ted Ross2010-02-1210-25/+124
| | | | | | | | | | | | | | | | together) This update changes the indexing of object IDs in the broker-resident management agent from being based on the QMFv1 format (numeric) to the QMFv2 format (string name). This removes the need for numeric objectIds to be synchronized across a set of clustered brokers. Also included in this patch is a fix to a bug in binding creation. Previously, when a binding was created that already existed, the management object for the proposed binding (duplicate of the existing one) was created then destroyed. This is inefficient and causes problems when the name-based indexes collide. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@909610 13f79535-47bb-0310-9956-ffa450edef68
* Consistent connection names across a cluster.Alan Conway2010-02-057-37/+71
| | | | | | | | | - use the same host:port for connections and their shadows. - add shadow property to managment connection to identify shadows. - updated qpid-stat and qpid-cluster to filter on shadow property. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@907123 13f79535-47bb-0310-9956-ffa450edef68
* Synchronize management agent lists during cluster update.Alan Conway2010-02-057-65/+180
| | | | | | | | | - replicate management agent lists during cluster update. - suppress management agent output during update. - on join all members force full output at next periodic processing. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@907030 13f79535-47bb-0310-9956-ffa450edef68
* Added encode/decode/encodedSize methods for management objects.Ted Ross2010-02-041-2/+13
| | | | | | | Made methods on generated code public. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@906573 13f79535-47bb-0310-9956-ffa450edef68
* Correct periodic flush logic in MessageReplayTrackerGordon Sim2010-02-041-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@906399 13f79535-47bb-0310-9956-ffa450edef68
* Added hook to retrieve priority from the delivery properties of a message.Ted Ross2010-02-034-0/+13
| | | | | | | This is to enable eventual work on priority-ordering in Queues. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@906056 13f79535-47bb-0310-9956-ffa450edef68
* Changes to management code generation:Ted Ross2010-02-032-0/+16
| | | | | | | | | | 1) Added readProperties(Buffer) method to ManagementObject to help in the serialization and unserialization of data for cluster replication. 2) Added hooks to ManagementObject and ObjectId to prepare for QMFv2 object naming. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@906038 13f79535-47bb-0310-9956-ffa450edef68
* Fix cluster bug introduced in r905674, incorrect frame-sequence count.Alan Conway2010-02-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@905794 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1982 - Don't allocate more than one instance of a PipeHandle.Ted Ross2010-02-021-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@905713 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2384: Fix for problem of cluster nodes recovering from both cluster and ↵Kim van der Riet2010-02-021-1/+3
| | | | | | store when --no-data-dir and --store-dir are in use together. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@905680 13f79535-47bb-0310-9956-ffa450edef68
* Cluster: fix update of failover exchange.Alan Conway2010-02-023-5/+12
| | | | | | | During update the cluster was sending an extra update to the failover exchange. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@905676 13f79535-47bb-0310-9956-ffa450edef68
* Cluster: debug snapshots of queue depth at broker join, help find ↵Alan Conway2010-02-024-10/+39
| | | | | | inconsistencies. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@905674 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2380: recognise reliability option for sender (also added capacity to ↵Gordon Sim2010-02-025-12/+42
| | | | | | qpid_send test client and fixed handling of empty option string) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@905579 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2348 - [C++] The HeadersExchange does not support federationTed Ross2010-02-017-44/+214
| | | | | | | Applied patch from Sam Joyce git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@905322 13f79535-47bb-0310-9956-ffa450edef68
* Replace PeriodicTimer with ClusterTimer, which inherits from Timer.Alan Conway2010-01-2910-65/+288
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@904656 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2365 - Reroute messages from a queue featureTed Ross2010-01-292-9/+58
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@904654 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2251, QPID-1982 - Added alternative to non-portable FD notifier in the ↵Ted Ross2010-01-292-14/+55
| | | | | | c++ QMF agent. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@904645 13f79535-47bb-0310-9956-ffa450edef68
* Change the heuristic used to alter the send estimate up and down.Michael Goulish2010-01-291-2/+2
| | | | | | | | Especially, change the starting estimate to be much higher than 1 message. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@904588 13f79535-47bb-0310-9956-ffa450edef68
* Apply part of patch msvc2005.patch from QPID-2371.Stephen D. Huston2010-01-291-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@904563 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2374: fix conditional compile based on configKenneth Anthony Giusti2010-01-291-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@904525 13f79535-47bb-0310-9956-ffa450edef68
* Fixed missing ManagementAgent test, causing core dumps in cluster with ↵Alan Conway2010-01-291-8/+9
| | | | | | --mgmt-enable=no. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@904515 13f79535-47bb-0310-9956-ffa450edef68
* Added missing QPID_COMMON_EXTERN decorators to fix Windows build. Resolves ↵Stephen D. Huston2010-01-281-2/+5
| | | | | | QPID-2372. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@904310 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2374: Null authenticator now checks for SSL if --encryption-required ↵Kenneth Anthony Giusti2010-01-281-2/+7
| | | | | | specified git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@904293 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2357 Broker boot sequence doesn't synchronize when clustered - patch ↵Alan Conway2010-01-286-0/+58
| | | | | | from John Dunning git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@904270 13f79535-47bb-0310-9956-ffa450edef68
* Fixed cluster error "Not enough for multicast header"Alan Conway2010-01-282-9/+8
| | | | | | | | Fixed incorrect test of message size. Added assertions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@904232 13f79535-47bb-0310-9956-ffa450edef68
* Fix for QPID-2373 - Durable exchange state not replicated to broker joining ↵Kim van der Riet2010-01-282-2/+4
| | | | | | cluster git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@904154 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: change format of connection options string to match address ↵Gordon Sim2010-01-287-213/+355
| | | | | | options; make open() a non-static method. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@904000 13f79535-47bb-0310-9956-ffa450edef68
* QPID_2634 Management updates in timer create inconsistencies in a cluster.Alan Conway2010-01-277-17/+142
| | | | | | | | | Cluster plugin provides a PeriodicTimer implementation to the broker which executes tasks in the cluster dispatch thread simultaneously across the cluster. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@903869 13f79535-47bb-0310-9956-ffa450edef68
* Cluster implementation of PeriodicTimer.Alan Conway2010-01-274-6/+171
| | | | | | | | | The cluster implementation multicast periodic-timer controls and executes the task when those controls are delivered, which is in the cluster delivery thread context and so consistent across the cluster. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@903867 13f79535-47bb-0310-9956-ffa450edef68
* Added PeriodicTimer interface for periodic tasks that need cluster ↵Alan Conway2010-01-278-24/+169
| | | | | | | | | | | synchronization. The ManagementAgent's periodic prociessing uses PeriodicTimer. PeriodicTimerImpl is the default implementation for stand-alone brokers, simple wrapper for sys::Timer. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@903866 13f79535-47bb-0310-9956-ffa450edef68
* In clustered broker: move construction of broker::Connections to the cluster ↵Alan Conway2010-01-273-57/+101
| | | | | | | | | | dispatch thread. Constructing a connection can involve sending management information so needs to be in the cluster dispatch context. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@903864 13f79535-47bb-0310-9956-ffa450edef68
* Fix cluster elder calculation to ensure unique elder.Alan Conway2010-01-277-13/+46
| | | | | | | | Race condition in the previous algorithm allowed several cluster members to consider themselves the elder. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@903826 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: change cancel() to close() for consistencyGordon Sim2010-01-279-23/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@903599 13f79535-47bb-0310-9956-ffa450edef68
* Make TCP more like RDMAAndrew Stitcher2010-01-261-3/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@903503 13f79535-47bb-0310-9956-ffa450edef68
* Fix memory error in previous SocketAddress refactoringAndrew Stitcher2010-01-267-37/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@903407 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2288: add support for bindings in address optionsGordon Sim2010-01-261-13/+55
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@903171 13f79535-47bb-0310-9956-ffa450edef68
* Add SSL support for Windows client and broker per QPID-1403. Adds new ↵Stephen D. Huston2010-01-239-20/+1359
| | | | | | | | | | | | | AsynchIO::BufferBase::squish() method that does what used to be done by in-place memmove() calls so it can be reused easily. SSL support for Windows is in: - Client: qpid/client/windows/SslConnector.cpp qpid/client/TCPConnector.{h cpp} rearranged a bit to make pieces available to SslConnector - Broker: qpid/broker/windows/SslProtocolFactory.cpp - Common: qpid/sys/windows/SslAsynchIO contains all the Schannel stuff to negotiate a session, encrypt, and decrypt data. The SslAsynchIO acts as a shim between the layer above and the "regular" AsynchIO that actually handles read/write and completions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@902318 13f79535-47bb-0310-9956-ffa450edef68
* If we've already closed Connection don't attempt to write to itAndrew Stitcher2010-01-221-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@902278 13f79535-47bb-0310-9956-ffa450edef68
* #include SecurityLayer.h needs to go back in; MSVC needs to see the class ↵Stephen D. Huston2010-01-221-0/+1
| | | | | | def for auto_ptr use in activateSecurityLayer. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@902176 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2347: Signal deletion of queue to active subscribers via a ↵Gordon Sim2010-01-2211-2/+117
| | | | | | resource-deleted exception. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@902055 13f79535-47bb-0310-9956-ffa450edef68
* Fixes to make Win32 port build again (and remove some warnings)Andrew Stitcher2010-01-212-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901816 13f79535-47bb-0310-9956-ffa450edef68