summaryrefslogtreecommitdiff
path: root/cpp/src
Commit message (Collapse)AuthorAgeFilesLines
* Resolve Windows build errors/warningsStephen D. Huston2009-06-228-18/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787286 13f79535-47bb-0310-9956-ffa450edef68
* Make error-check a cluster-connection control rather than a cluster control.Alan Conway2009-06-186-23/+27
| | | | | | | | | Fixes bug if an error occurs during update. As cluster controls, error-checks were being processed out of sequence with the connection data they referred to. Making them connection controls ensures they are processed in the proper order. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@786294 13f79535-47bb-0310-9956-ffa450edef68
* Correct order of args to memset(); fixes QPID-1787Stephen D. Huston2009-06-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@786148 13f79535-47bb-0310-9956-ffa450edef68
* Add missing include required on some platforms.Gordon Sim2009-06-181-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@785964 13f79535-47bb-0310-9956-ffa450edef68
* Handle invalid AMPQ data to a cluster by closing the offending connection.Alan Conway2009-06-174-5/+61
| | | | | | | Prior to this fix, invalid data shut down the whole cluster. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@785788 13f79535-47bb-0310-9956-ffa450edef68
* Don't throw exception from destructor in Mutex and Condition as this is ↵Gordon Sim2009-06-173-3/+5
| | | | | | unsafe and unhelpful. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@785757 13f79535-47bb-0310-9956-ffa450edef68
* Ensure that the ConnectionTimeoutTask does not block other tasks (e.g. ↵Gordon Sim2009-06-172-22/+35
| | | | | | ConnectionHeartbeatTask) by having the timeout changed after it has been submitted. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@785733 13f79535-47bb-0310-9956-ffa450edef68
* Drop _EXPECTED_FAILURES macro, doesn't work with all boost versions.Alan Conway2009-06-173-28/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@785601 13f79535-47bb-0310-9956-ffa450edef68
* Performance improvements in AggregateOutput and SemanticState.Alan Conway2009-06-1621-202/+229
| | | | | | | | | | | | | | Replaced AggregateOutput hierarchy with a flat list per connection holding only the OutputTasks that are potentially active. Tasks are droped from the list as soon as they return false, and added back when they may have output. Inlined frequently-used SequenceNumber functions. Replace std::list in QueueListeners with std::vector. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@785408 13f79535-47bb-0310-9956-ffa450edef68
* Revert bad optimization: unpredictable ordering of set caused cluster failures.Alan Conway2009-06-122-9/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@784267 13f79535-47bb-0310-9956-ffa450edef68
* Change to test directory names for installed tests missed in previous checkinKim van der Riet2009-06-111-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@783876 13f79535-47bb-0310-9956-ffa450edef68
* Change to test directory names for installed testsKim van der Riet2009-06-111-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@783874 13f79535-47bb-0310-9956-ffa450edef68
* Minor change to clarify queue size policy log messagesKim van der Riet2009-06-111-3/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@783866 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1786 - Committed qmf patches from Bryan KearneyTed Ross2009-06-1110-13/+181
| | | | | | | | Additionally updated existing qmf and Qman to be compatible. The magic number for qmf messages has been incremented. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@783818 13f79535-47bb-0310-9956-ffa450edef68
* Avoid the case where we can receive bytes from the socketAndrew Stitcher2009-06-111-0/+1
| | | | | | | after the heartbeat timer has disconnected it git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@783792 13f79535-47bb-0310-9956-ffa450edef68
* Don't start the broker Connection heartbeat timers if theAndrew Stitcher2009-06-111-1/+1
| | | | | | | connection isn't a local connection. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@783791 13f79535-47bb-0310-9956-ffa450edef68
* Stop timers on receiving Connection::closed() from lower levelsAndrew Stitcher2009-06-111-0/+4
| | | | | | | as well as sending close() to them. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@783790 13f79535-47bb-0310-9956-ffa450edef68
* Add flag to broker Connection so that it knows if it is aAndrew Stitcher2009-06-113-1/+9
| | | | | | | local or shadow connection git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@783789 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1901: only try to load content if there is someGordon Sim2009-06-111-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@783721 13f79535-47bb-0310-9956-ffa450edef68
* If frameset being sent in cluster update is incomplete (i.e. content has ↵Gordon Sim2009-06-111-2/+17
| | | | | | been released) then send frames as is (will just be header). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@783599 13f79535-47bb-0310-9956-ffa450edef68
* Ensure that messages sent by clusters update client are correctly fragmented ↵Gordon Sim2009-06-101-10/+19
| | | | | | based on the max frame size for the session. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@783571 13f79535-47bb-0310-9956-ffa450edef68
* Updates to python cluster tests and associated scriptsKim van der Riet2009-06-105-29/+61
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@783451 13f79535-47bb-0310-9956-ffa450edef68
* cpp/src/replication.mkManuel Teira Paz2009-06-101-1/+1
| | | | | | | - Avoid explicit linkage with -lCrun. Use SUNCC_RUNTIME_FLAGS that would be conditionally replaced with -lCrun for the Sun Studio Compiler git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@783231 13f79535-47bb-0310-9956-ffa450edef68
* Lock should be released in LVQ before dequeuing old message to prevent ↵Gordon Sim2009-06-091-0/+1
| | | | | | possible deadlocks when a store plugin is loaded. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@782979 13f79535-47bb-0310-9956-ffa450edef68
* Enhanced test sender to allow the lvq match keys used to be specified in a file.Gordon Sim2009-06-091-5/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@782978 13f79535-47bb-0310-9956-ffa450edef68
* Bugfixes in the c++ console API:Ted Ross2009-06-084-23/+66
| | | | | | | | | | | - Connection threads now shut down cleanly - get-query timeouts now work properly - waitForStable now only waits for connected brokers The ping example was improved. It now more cleanly handles connection loss/reconnect. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@782766 13f79535-47bb-0310-9956-ffa450edef68
* YA Fix to the cluster behaviour of the client heartbeatAndrew Stitcher2009-06-081-1/+3
| | | | | | | (non) detection code git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@782715 13f79535-47bb-0310-9956-ffa450edef68
* If expiration is already set, don't alter it.Gordon Sim2009-06-082-2/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@782712 13f79535-47bb-0310-9956-ffa450edef68
* Fix of the previous client heartbeat changes:Andrew Stitcher2009-06-085-3/+10
| | | | | | | | | | - Changes to the cluster code were previously missed - It's neater and more correct to reset the traffic timeout for all connection traffic, not just traffic in a session git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@782696 13f79535-47bb-0310-9956-ffa450edef68
* - Added heartbeat generation to the client (actually echo back anyAndrew Stitcher2009-06-084-34/+82
| | | | | | | | | broker generated heartbeat) - Broker now disconnects client if it receives no traffic in 2 heartbeat intervals (which is now the same as the client behvaiour) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@782651 13f79535-47bb-0310-9956-ffa450edef68
* Fixed broker Timer implementation so that you can correctlyAndrew Stitcher2009-06-081-7/+9
| | | | | | | change the expiry time of a queued TimerTask. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@782650 13f79535-47bb-0310-9956-ffa450edef68
* Plumbed in an a connection abort operation to the OutputHandlerAndrew Stitcher2009-06-0813-55/+85
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@782649 13f79535-47bb-0310-9956-ffa450edef68
* Fix change in test logic introduced by r782075.Gordon Sim2009-06-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@782555 13f79535-47bb-0310-9956-ffa450edef68
* Make sure the heartbeat interval is started for the waitForOpenCarl C. Trieloff2009-06-081-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@782494 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1892 - Fixed a memory leak where recovered durable queues are never ↵Ted Ross2009-06-051-0/+2
| | | | | | deleted. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@782146 13f79535-47bb-0310-9956-ffa450edef68
* Further fix to new cluster member state transfer to fix a case where unacked ↵Gordon Sim2009-06-057-23/+88
| | | | | | messages on ring policy queue cause inconsistencies in queue state between nodes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@782075 13f79535-47bb-0310-9956-ffa450edef68
* Patch from Michael Goulish - QPID-1891 "fix declaration problems with boost ↵Kim van der Riet2009-06-052-5/+7
| | | | | | 1_33_1", but with minor additional fixes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@782051 13f79535-47bb-0310-9956-ffa450edef68
* Made the test_store lib installable to be used with installable testsKim van der Riet2009-06-042-2/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781732 13f79535-47bb-0310-9956-ffa450edef68
* Initial capabilities to run test suite on WindowsStephen D. Huston2009-06-0310-30/+491
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781525 13f79535-47bb-0310-9956-ffa450edef68
* Use Boost variables, not direct library names; inserts correct names ↵Stephen D. Huston2009-06-031-2/+2
| | | | | | cross-platform git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781524 13f79535-47bb-0310-9956-ffa450edef68
* Add extern marker to match() and normalize() methods to build tests on WindowsStephen D. Huston2009-06-031-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781523 13f79535-47bb-0310-9956-ffa450edef68
* Ensure that ring queue behaves as expected when replicated to newly joined ↵Gordon Sim2009-06-033-2/+86
| | | | | | | | | | cluster node. Altered queueDurabilityPropagationToNewbie test to not use in-process broker to fix error caused by linking change. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781454 13f79535-47bb-0310-9956-ffa450edef68
* Python cluster test improvements and some additional testsKim van der Riet2009-06-033-354/+491
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781431 13f79535-47bb-0310-9956-ffa450edef68
* Revert "QPID-1879 Don't use a thread for every new client Connection"Andrew Stitcher2009-06-035-183/+181
| | | | | | | This reverts commit b54680d4b3341fa280a237a6d80952b9830ae3c5. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781378 13f79535-47bb-0310-9956-ffa450edef68
* Revert "QPID-1879 Removed some code obsoleted by this change"Andrew Stitcher2009-06-033-2/+21
| | | | | | | This reverts commit 60d66cae76b2bea90f076875e35cb69049fb2d3a. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781376 13f79535-47bb-0310-9956-ffa450edef68
* Revert "Change client io threading to be initialised at first use"Andrew Stitcher2009-06-031-7/+4
| | | | | | | This reverts commit 2e77e9b85912ccbfd29763710a973d0bbff9c684. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781375 13f79535-47bb-0310-9956-ffa450edef68
* Stop watching the acceptors dispatch handle before it is deleted in ssl and ↵Gordon Sim2009-06-034-1/+12
| | | | | | rdma plugins. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781332 13f79535-47bb-0310-9956-ffa450edef68
* Change to make suppression apply on fc5 as well as rhel5.Gordon Sim2009-06-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781331 13f79535-47bb-0310-9956-ffa450edef68
* Fixes to cluster tests which enable them to be built and run outside the ↵Kim van der Riet2009-06-022-7/+7
| | | | | | source tree. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781070 13f79535-47bb-0310-9956-ffa450edef68
* Some fixes to QPID-1879 so that clustering still works:Andrew Stitcher2009-06-013-9/+11
| | | | | | | | | Change client io threading to be initialised at first use Stop linking loadable modules with tests Add some sentinel values so that we can see what happened last git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@780855 13f79535-47bb-0310-9956-ffa450edef68