summaryrefslogtreecommitdiff
path: root/cpp/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
* QPID-1819: ensure that security layer implementation can cope with the case ↵Gordon Sim2009-06-013-5/+34
| | | | | | where the max allowed input to cyrus sal routines isless than the max frame size in use. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@780719 13f79535-47bb-0310-9956-ffa450edef68
* make cluster.py executable fix typo in test scriptGordon Sim2009-05-292-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@780018 13f79535-47bb-0310-9956-ffa450edef68
* Fixes to get qpid to build with gcc4.4 with optimisationAndrew Stitcher2009-05-282-4/+11
| | | | | | | Fix for non thread safe use of inet_ntoa(). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@779757 13f79535-47bb-0310-9956-ffa450edef68
* Whitespace fixesAndrew Stitcher2009-05-283-90/+90
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@779446 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1879 Removed some code obsoleted by this changeAndrew Stitcher2009-05-283-21/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@779445 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1879 Don't use a thread for every new client ConnectionAndrew Stitcher2009-05-285-181/+183
| | | | | | | | | | - By default the max number of threads now used for network io is the number of cpus available. - This can be overridden with the QPID_MAX_IOTHREADS environment variable or the config file git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@779435 13f79535-47bb-0310-9956-ffa450edef68
* Fix from gsim for python path; also changed name of QPID_CONFIG environment ↵Kim van der Riet2009-05-272-12/+15
| | | | | | variable which clashes with previous definition and made others more consistent in naming. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@779262 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1873: Further test case contributed by Mick Goulish.Gordon Sim2009-05-271-0/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@779241 13f79535-47bb-0310-9956-ffa450edef68
* Added missing locks in cluster code.Alan Conway2009-05-274-4/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@779235 13f79535-47bb-0310-9956-ffa450edef68