summaryrefslogtreecommitdiff
path: root/cpp/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Make Session::close and Connection::close no-throwAlan Conway2009-10-274-10/+46
| | | | | | | close() will often be called in destructors and so should not throw exceptions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830268 13f79535-47bb-0310-9956-ffa450edef68
* Separate FailoverListener from client::Connection.Alan Conway2009-10-2615-179/+74
| | | | | | | | | | | | | | | | | | client::ConnectionImpl used to contain a FailoverListener to subscribe for updates on the amq.failover exchange. This caused some lifecycle issues including memory leaks. Now FailoverListener is a public API class that the user must create associated with a session to get known-broker updates. Removed the weak_ptr logic in client::SessionImpl which was only required because of FailoverListener. Made SessionImpl::close() idempotent. Gets rid of spurious warning messages in some tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@829931 13f79535-47bb-0310-9956-ffa450edef68
* Ignore exceptions from detach() in ~SessionImpl.Alan Conway2009-10-261-3/+5
| | | | | | | | Otherwise clients can crash in terminate() if there is an error, e.g. a TransportFailure. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@829912 13f79535-47bb-0310-9956-ffa450edef68
* Fix regression introduced in r828108Alan Conway2009-10-261-9/+10
| | | | | | | SessionHandler ignores all but detach/detached controls when awaitingDetached. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@829815 13f79535-47bb-0310-9956-ffa450edef68
* Removed references to broker and agent bank from API, replaced with theTed Ross2009-10-231-0/+1
| | | | | | | | | | | | | more generic (and forward compatible) "key". In the Ruby binding, ensured that ruby objects reference their own copies of the wrapped c++ objects to protect from problems when the c++ objects are deleted out from under the wrappers. Added agent discriminator to the console::objects method. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@829167 13f79535-47bb-0310-9956-ffa450edef68
* Get selected TCP listen port before building the pid file name; fixes ↵Stephen D. Huston2009-10-231-2/+3
| | | | | | regression introduced yesterday. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@828898 13f79535-47bb-0310-9956-ffa450edef68
* Removed "..." from suppressions to work with older valgrind versions.Alan Conway2009-10-222-5/+15
| | | | | | | Allow enabling of valgrind suppressions by setting VALGRIND_OPTS. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@828739 13f79535-47bb-0310-9956-ffa450edef68
* Move management-agent earlier in the init-sequence so it is destroyed after theTed Ross2009-10-222-2/+2
| | | | | | | message store is finalized. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@828716 13f79535-47bb-0310-9956-ffa450edef68
* Added immediate-publish for new connections and agents. This solves a race ↵Ted Ross2009-10-223-35/+53
| | | | | | | | | | | | condition where a QMF console may learn about an object before it learns about the agent that controls that object. Changed log category for QMF messages from debug to trace. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@828685 13f79535-47bb-0310-9956-ffa450edef68
* Improved suppression for TCPConnector leak.Alan Conway2009-10-221-8/+4
| | | | | | Works for different libgcc version and different amounts of inlining. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@828676 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1732 - When an exchange is deleted, the binding-count for bound queues ↵Ted Ross2009-10-225-9/+6
| | | | | | is not adjusted for deleted bindings. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@828674 13f79535-47bb-0310-9956-ffa450edef68
* Tidied up dependencies in IOHandle so that it is no longerAndrew Stitcher2009-10-216-28/+40
| | | | | | dependent on the windows implementation classes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@828230 13f79535-47bb-0310-9956-ffa450edef68
* Add missing accept() call to start listening on broker portStephen D. Huston2009-10-211-3/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@828202 13f79535-47bb-0310-9956-ffa450edef68
* Fix problems with sessions going out of scope and session numbers wrapping ↵Alan Conway2009-10-216-29/+52
| | | | | | | | | | | | | around. Fixes QPID-1789: sessions that go out of scope without being detached will detach themselves. Also fixes several issues that arise when the session numbers wraps around and start re-using old numbers. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@828108 13f79535-47bb-0310-9956-ffa450edef68
* Initial checkin of portable message store plugin and MS SQL-specific storage ↵Stephen D. Huston2009-10-2131-11/+4104
| | | | | | provider. Goes with QPID-2017 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827870 13f79535-47bb-0310-9956-ffa450edef68
* Add ability to load modules from something other than a .so file; allows ↵Stephen D. Huston2009-10-212-1/+11
| | | | | | loading .dll files on Windows, for example. The proper suffix is gleaned from cmake; if on autoconf assume .so. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827865 13f79535-47bb-0310-9956-ffa450edef68
* Fixed memory leak on broker shutdown. Broker's management agent pointer is nowTed Ross2009-10-202-6/+6
| | | | | | | | | a std::auto_ptr rather than a raw pointer. The agent pointer was moved in front of the registries in initialization order to prevent references to deleted management objects when the registries are destroyed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827783 13f79535-47bb-0310-9956-ffa450edef68
* Carry over recent AsynchIO-level changes to Windows.Stephen D. Huston2009-10-207-74/+74
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827735 13f79535-47bb-0310-9956-ffa450edef68
* Supress TCPConnector join leak, disabled valgrind --gen-supressions - too ↵Alan Conway2009-10-202-1/+16
| | | | | | verbose. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827731 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2126 - Sync the python QMF bindings to the current Ruby QMF bindings ↵Ted Ross2009-10-201-0/+5
| | | | | | | | | implementation Applied patch from Ken Giusti git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827686 13f79535-47bb-0310-9956-ffa450edef68
* Change CPG initialization log message to notice level.Alan Conway2009-10-191-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@826695 13f79535-47bb-0310-9956-ffa450edef68
* r817742 (the fix for QPID-2102) did not cover the case for 2pc transactions ↵Gordon Sim2009-10-184-5/+26
| | | | | | recovered in the prepared state; this fixes that case. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@826460 13f79535-47bb-0310-9956-ffa450edef68
* Change threshold for reporting a timer as late from 10 to 50 msec. Resolves ↵Stephen D. Huston2009-10-161-1/+1
| | | | | | QPID-2150. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@826093 13f79535-47bb-0310-9956-ffa450edef68
* Pull running acceptor out of Broker run loopAndrew Stitcher2009-10-163-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@826033 13f79535-47bb-0310-9956-ffa450edef68
* Rationalised AsynchConnector/Acceptor/IO to all use the same code structureAndrew Stitcher2009-10-163-66/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@826032 13f79535-47bb-0310-9956-ffa450edef68
* Fixed tcp nodelay, broken by previous socket code shufflingAndrew Stitcher2009-10-164-16/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@826031 13f79535-47bb-0310-9956-ffa450edef68
* Fix creating socket in the wrong place for listen()Andrew Stitcher2009-10-161-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@826030 13f79535-47bb-0310-9956-ffa450edef68
* Protect close methodCarl C. Trieloff2009-10-161-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@825869 13f79535-47bb-0310-9956-ffa450edef68
* Bug fix: Console sent get-requests (by objectId) to all agents, not just the ↵Ted Ross2009-10-154-5/+20
| | | | | | | | | agent identified in the objectId. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@825672 13f79535-47bb-0310-9956-ffa450edef68
* Improved test output capturing in automated tests; correctly get exe process ↵Stephen D. Huston2009-10-155-28/+62
| | | | | | exit codes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@825358 13f79535-47bb-0310-9956-ffa450edef68
* Have qpidd -q wait till the qpidd process exits before returning.Alan Conway2009-10-131-2/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@824894 13f79535-47bb-0310-9956-ffa450edef68
* Add new SocketAddress.cpp and requisite adjustments; a few install improvementsStephen D. Huston2009-10-124-32/+108
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@824545 13f79535-47bb-0310-9956-ffa450edef68
* Split Socket::listenAndrew Stitcher2009-10-122-2/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@824443 13f79535-47bb-0310-9956-ffa450edef68
* Added new SocketAddress class to Cmake build (oops)Andrew Stitcher2009-10-121-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@824413 13f79535-47bb-0310-9956-ffa450edef68
* Refactored Socket to allow for IPv6 and unix domain socketAndrew Stitcher2009-10-124-34/+48
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@824237 13f79535-47bb-0310-9956-ffa450edef68
* Fix race condition in enqueue/dequeue callbacks.Alan Conway2009-10-092-14/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@823669 13f79535-47bb-0310-9956-ffa450edef68
* Used new SocketAddress class in rdma codeAndrew Stitcher2009-10-097-58/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@823392 13f79535-47bb-0310-9956-ffa450edef68
* Added in passive socket address to SocketAddress and use in Socket::listen()Andrew Stitcher2009-10-092-7/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@823391 13f79535-47bb-0310-9956-ffa450edef68
* Split responsibility for name lookup in AsynchConnector::connectAndrew Stitcher2009-10-096-31/+135
| | | | | | into new SocketAddress class. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@823390 13f79535-47bb-0310-9956-ffa450edef68
* Split TCP connect so that the connect is non blockingAndrew Stitcher2009-10-091-35/+47
| | | | | | - This means it can now be interrupted by heartbeat abort git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@823389 13f79535-47bb-0310-9956-ffa450edef68
* Change TCP AsynchConnector so that it returns all failures asynchronouslyAndrew Stitcher2009-10-091-2/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@823388 13f79535-47bb-0310-9956-ffa450edef68
* Fix memory usage error in AsynchConnectorAndrew Stitcher2009-10-093-20/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@823387 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2132: further fix from Ken Giusti.Gordon Sim2009-10-082-6/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@823279 13f79535-47bb-0310-9956-ffa450edef68
* Help the package make go better on LinuxStephen D. Huston2009-10-081-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@823266 13f79535-47bb-0310-9956-ffa450edef68
* Cluster shuts down broker via SignalHandler to fix memory errors on exit.Alan Conway2009-10-084-4/+10
| | | | | | | | The SignalHandler holds a global reference to the broker which needs to be reset otherwise there are problems when the broker by a global destructor. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@823258 13f79535-47bb-0310-9956-ffa450edef68
* Fix race condition in testExclusiveQueueUpdate causing occasional false ↵Alan Conway2009-10-081-0/+1
| | | | | | failures. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@823213 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2132: Applied patch from Ken GiustiGordon Sim2009-10-082-19/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@823094 13f79535-47bb-0310-9956-ffa450edef68
* Added more install-related content to the CMake structure.Stephen D. Huston2009-10-071-33/+153
| | | | | | Adds changes requested in QPID-2123, modified somewhat. Also adds Windows-specific installer content in cpp/packaging. Other specific packaging things can be added there as well. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@822965 13f79535-47bb-0310-9956-ffa450edef68
* Add missing extern decls.Stephen D. Huston2009-10-072-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@822964 13f79535-47bb-0310-9956-ffa450edef68
* Fix typo in ais_check, causing cluster tests to fail.Alan Conway2009-10-061-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@822268 13f79535-47bb-0310-9956-ffa450edef68