summaryrefslogtreecommitdiff
path: root/cpp/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Require exact match for environment variables before they are interpreted as ↵Gordon Sim2009-06-251-1/+2
| | | | | | options (rather than simply matching as a prefix to an option name). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@788439 13f79535-47bb-0310-9956-ffa450edef68
* Added one missing trace logTed Ross2009-06-251-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@788408 13f79535-47bb-0310-9956-ffa450edef68
* Added debug logs to the embedded broker agentTed Ross2009-06-251-8/+59
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@788397 13f79535-47bb-0310-9956-ffa450edef68
* Added qpid_ping: a simple client to verify broker responsiveness.Alan Conway2009-06-252-0/+120
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@788353 13f79535-47bb-0310-9956-ffa450edef68
* Fix to perftest to make sure that all threads are joined even if thereAndrew Stitcher2009-06-231-27/+23
| | | | | | | is an exception git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787816 13f79535-47bb-0310-9956-ffa450edef68
* Fix for issue where a broker with single io thread can get stuck if itAndrew Stitcher2009-06-231-0/+1
| | | | | | | runs out of file handles. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787815 13f79535-47bb-0310-9956-ffa450edef68
* Client side fix to make sure we don't schedule a disconnectAndrew Stitcher2009-06-231-1/+4
| | | | | | | due to timeout when we are already disconnecting git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787814 13f79535-47bb-0310-9956-ffa450edef68
* Add blocking to sys::Timer so that timer callback and cancelAndrew Stitcher2009-06-232-2/+13
| | | | | | | can't happen interleaved git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787813 13f79535-47bb-0310-9956-ffa450edef68
* Add blocking to broker::Timer/TimerTask so cancel and fire()Andrew Stitcher2009-06-232-3/+15
| | | | | | | cannot be interleaved. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787812 13f79535-47bb-0310-9956-ffa450edef68
* Once we're aborting the connection due to traffic timeout make sureAndrew Stitcher2009-06-231-1/+6
| | | | | | | we cancel heartbeats git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787811 13f79535-47bb-0310-9956-ffa450edef68
* Don't schedule eof() in response to traffic timeout if alreadyAndrew Stitcher2009-06-231-2/+8
| | | | | | | | disconnecting and make sure that this is true for all close down paths git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787810 13f79535-47bb-0310-9956-ffa450edef68
* Make sure you close down heartbeatTimer for every close even if you don'tAndrew Stitcher2009-06-231-1/+2
| | | | | | | need to do anything else git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787809 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1936: Fix potential deadlock for durable ring queueGordon Sim2009-06-234-15/+58
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787625 13f79535-47bb-0310-9956-ffa450edef68
* Renamed new directory to avoid clashing with executable name where build is ↵Gordon Sim2009-06-236-0/+0
| | | | | | done in source tree. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787618 13f79535-47bb-0310-9956-ffa450edef68
* Script fixes to get tests going on Windows; includes properly licensed ↵Stephen D. Huston2009-06-223-26/+51
| | | | | | background.ps1 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787431 13f79535-47bb-0310-9956-ffa450edef68
* Fix compile errorStephen D. Huston2009-06-221-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787422 13f79535-47bb-0310-9956-ffa450edef68
* Test script to run distributed perftest against a cluster.Alan Conway2009-06-226-0/+150
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787415 13f79535-47bb-0310-9956-ffa450edef68
* Log an error only the first time a detached session is used, ignore after that.Alan Conway2009-06-222-15/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787332 13f79535-47bb-0310-9956-ffa450edef68
* 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