summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
Commit message (Collapse)AuthorAgeFilesLines
* QPID-1722 Replace use of non thread safe gethostbyname()Andrew Stitcher2009-03-091-16/+21
| | | | | | | with more useful getaddrinfo() git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@751844 13f79535-47bb-0310-9956-ffa450edef68
* Fix cluster TTL: replicte expiry information to newcomers.Alan Conway2009-03-0913-67/+95
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@751760 13f79535-47bb-0310-9956-ffa450edef68
* Close a potential race between closing a connection and sending dataAndrew Stitcher2009-03-091-18/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@751751 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1721: Fixes for replication between clusters when new members are addedGordon Sim2009-03-0919-24/+204
| | | | | | | | | | * suppress event generation during node catch up * ensure sequence counters used for duplicate detection are synchronised in both primary and dr clusters when new members join * connect queue with the event manager within queue registry rather than adapter as the latter path is not used for catchup git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@751719 13f79535-47bb-0310-9956-ffa450edef68
* Ack outstanding messages before closingGordon Sim2009-03-091-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@751713 13f79535-47bb-0310-9956-ffa450edef68
* Fixed race conditions in cluster.Alan Conway2009-03-0817-352/+362
| | | | | | | | Execute all cluster logic in frameDeliverQueue thread, decoding only in eventDeliverQueue thread. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@751557 13f79535-47bb-0310-9956-ffa450edef68
* Correct needed include file for strlen()Stephen D. Huston2009-03-061-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@751131 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1719: extra test for federated cluster (includes node failure which ↵Gordon Sim2009-03-062-2/+27
| | | | | | requires a wait so only run on make check-long) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750989 13f79535-47bb-0310-9956-ffa450edef68
* Moved a variable inside an assertion to avoid unused variable error when the ↵Jonathan Robie2009-03-061-2/+1
| | | | | | assertion is undefined. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750930 13f79535-47bb-0310-9956-ffa450edef68
* AclPlugin: Use --acl-file unmodified if --no-data-dir.Alan Conway2009-03-062-10/+5
| | | | | | | SessionId: print as userid.sessionid rather than sessionid@userid. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750913 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1719: Ensure management object id remain in sync across cluster.Gordon Sim2009-03-063-7/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750910 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1718: Ensure that cancellation caused by e.g. ↵Gordon Sim2009-03-052-2/+19
| | | | | | SubscriptionManager::get() doesn't close dispatch queue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750622 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1717: Check that target queue for replication events exists before ↵Gordon Sim2009-03-052-13/+26
| | | | | | attempting to process it. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750586 13f79535-47bb-0310-9956-ffa450edef68
* Cluster: restore separate event/frame threads.Alan Conway2009-03-054-89/+70
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750574 13f79535-47bb-0310-9956-ffa450edef68
* qpid/broker/QueuePolicy.cppManuel Teira Paz2009-03-052-3/+3
| | | | | | | | | - Add a missing std namespace qpid/broker/TxAccept.cpp - Add a missing std namespace git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750497 13f79535-47bb-0310-9956-ffa450edef68
* qpid/log/posix/SinkOptions.cppManuel Teira Paz2009-03-051-1/+5
| | | | | | | | | - Conditionally use LOG_FTP and LOG_AUTHPRIV - Add a missing std namespace git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750496 13f79535-47bb-0310-9956-ffa450edef68
* qpid::log::Selector: Include strings.h for ::strlen Manuel Teira Paz2009-03-051-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750491 13f79535-47bb-0310-9956-ffa450edef68
* Replace PF_LOCAL with PF_UNIX, since it seems to be equivalent, and the Manuel Teira Paz2009-03-051-1/+1
| | | | | | | former doesn't exist on Solaris (for instance) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750489 13f79535-47bb-0310-9956-ffa450edef68
* In qpid::client::SessionImplManuel Teira Paz2009-03-051-1/+2
| | | | | | | | | | Force the construction of a sys::ExceptionHolder to avoid the Sun Compiler to throw an ambiguity error, since it things that sys::ExceptionHolder and ClosedException are convertible one to the other. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750488 13f79535-47bb-0310-9956-ffa450edef68
* Add a pair of missing std:: namespacesManuel Teira Paz2009-03-052-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750487 13f79535-47bb-0310-9956-ffa450edef68
* Implement a solaris qpid::sys::SystemInfoManuel Teira Paz2009-03-052-2/+111
| | | | | | | Choose implementation based on SUNOS definition git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750486 13f79535-47bb-0310-9956-ffa450edef68
* Remove the argument type in the boost::function template sinceManuel Teira Paz2009-03-051-1/+1
| | | | | | | it's no needed and hurts the Sun compiler git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750485 13f79535-47bb-0310-9956-ffa450edef68
* Define the QPID_TSS macro for the Sun Studio CompilersManuel Teira Paz2009-03-051-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750483 13f79535-47bb-0310-9956-ffa450edef68
* Prepend std namespace to atoi since we are including cstdlibManuel Teira Paz2009-03-051-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750482 13f79535-47bb-0310-9956-ffa450edef68
* cluster: fix delivery-property.exchange-name set on updated messages.Alan Conway2009-03-0521-89/+143
| | | | | | | | | Logging improvements, useful for debugging: - qpid/SessionState.cpp: show frame bodies with command IDs. - assign cluster-wide id number to each Event. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750456 13f79535-47bb-0310-9956-ffa450edef68
* Remove socklen_t for Windows; related to QPID-1710Stephen D. Huston2009-03-052-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750253 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1711: Ensure the session state between the two peers in an inter-broker ↵Gordon Sim2009-03-049-43/+100
| | | | | | | | | | bridging session are kept in sync. (Also made changes to cancellation to ensure that the commands are only issued on the io thread of the connection) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750002 13f79535-47bb-0310-9956-ffa450edef68
* Improved log messageGordon Sim2009-03-041-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749996 13f79535-47bb-0310-9956-ffa450edef68
* Added some extra debug information on failover time.Gordon Sim2009-03-041-1/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749969 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1710: update test inline with modified method signature.Gordon Sim2009-03-041-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749951 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1710 Removed unnecessary nonportable internal APIAndrew Stitcher2009-03-046-10/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749894 13f79535-47bb-0310-9956-ffa450edef68
* cpp/src/tests/ForkedBroker.cpp: supress misleading exceptions with kill -9.Alan Conway2009-03-032-4/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749756 13f79535-47bb-0310-9956-ffa450edef68
* Correct Socket error reporting so that it gives a useful messageAndrew Stitcher2009-03-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749752 13f79535-47bb-0310-9956-ffa450edef68
* cluster::UpdateClient added missing error handling.Alan Conway2009-03-035-52/+113
| | | | | | | Minor improvements to failover_soak tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749730 13f79535-47bb-0310-9956-ffa450edef68
* Complete change started by r749621: "Avoid use of std::vector::data(), not ↵Gordon Sim2009-03-031-1/+1
| | | | | | available on some platforms." git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749669 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1707 Mick Goulish. Improved failover_soak codeAlan Conway2009-03-031-8/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749627 13f79535-47bb-0310-9956-ffa450edef68
* Avoid use of std::vector::data(), not available on some platforms.Alan Conway2009-03-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749621 13f79535-47bb-0310-9956-ffa450edef68
* Replicate connection decoder fragments to new members.Alan Conway2009-03-0223-396/+221
| | | | | | | | | | | | Refactoring: - Merge Decoder into ConnectionMap. - Process cluster controls in event queue thread. - Use counter not pointer for connection ID, avoid re-use. - Do all processing in event queue thread to avoid races (temporary pending performance measurements) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749473 13f79535-47bb-0310-9956-ffa450edef68
* Remove -Wno-missing-field-initializers which is not supported by gcc3.4Andrew Stitcher2009-03-022-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749432 13f79535-47bb-0310-9956-ffa450edef68
* - Reworked DispatchHandler state machine to eliminate race conditionsAndrew Stitcher2009-03-028-87/+246
| | | | | | | | | | | particularly when deleting a DispatchHandle - Reworked Poller interrupt mechanism eliminating locking problems and to support DispatchHandler changes - Beefed up the DispatchHandler test program so that it's a fair torture test of the DispatchHandler code git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749406 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1705: added unit test for heartbeat firing after connection has failed overGordon Sim2009-03-021-0/+85
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749313 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1705: cancel heartbeat timer task as part of cleanupGordon Sim2009-03-021-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749297 13f79535-47bb-0310-9956-ffa450edef68
* Add lock to cluster::ConnectionMap, make it thread safe.Alan Conway2009-02-273-12/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748723 13f79535-47bb-0310-9956-ffa450edef68
* Modified so that the content of the message is only parsed if it is used in ↵Jonathan Robie2009-02-272-55/+78
| | | | | | | | | | a binding query. Headers can be queried without parsing the message. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748689 13f79535-47bb-0310-9956-ffa450edef68
* cluster: apply membership updates while in CATCHUP mode.Alan Conway2009-02-272-10/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748651 13f79535-47bb-0310-9956-ffa450edef68
* Sorry, forgot a crucial line in my last 'fix'!Gordon Sim2009-02-271-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748640 13f79535-47bb-0310-9956-ffa450edef68
* Fix test to account for failure after last message has been delivered, but ↵Gordon Sim2009-02-271-4/+8
| | | | | | before the session and connection are closed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748624 13f79535-47bb-0310-9956-ffa450edef68
* Fix to avoid spinning if an exception is thrown in cluster::PollableQueue.Alan Conway2009-02-261-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748339 13f79535-47bb-0310-9956-ffa450edef68
* Send session.detached back to server in response to a detach.Gordon Sim2009-02-261-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748286 13f79535-47bb-0310-9956-ffa450edef68
* Add browse option, useful for ad-hoc testing.Gordon Sim2009-02-261-6/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748252 13f79535-47bb-0310-9956-ffa450edef68