summaryrefslogtreecommitdiff
path: root/cpp/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove extraneous space from exception message.Stephen D. Huston2009-10-291-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@831160 13f79535-47bb-0310-9956-ffa450edef68
* Fixed problem of queue alternate-exchange property not being persisted on ↵Kim van der Riet2009-10-293-5/+21
| | | | | | persistent queues, and on recovery this property is lost. No tests exist as yet for this. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@831082 13f79535-47bb-0310-9956-ffa450edef68
* Fix for QPID-2171 "No checks made for reserved exchange names "amq.*" and ↵Kim van der Riet2009-10-291-2/+2
| | | | | | "qpid.*". This checkin adds the qpid check, r.830751 added the amq check. Python tests also inlcuded which checks for these prefixes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830930 13f79535-47bb-0310-9956-ffa450edef68
* Change StorageProvider::Exception to inherit from qpid::Exception instead of ↵Stephen D. Huston2009-10-284-26/+42
| | | | | | | | std::exception; allows the broker to catch them and do something other than die without a message. Fixed exception handling around more ADO ops and correctly handle com exceptions without associated ErrorInfo. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830797 13f79535-47bb-0310-9956-ffa450edef68
* Ensure connections are done blocking; there's no asynch connect support yet. ↵Stephen D. Huston2009-10-281-1/+1
| | | | | | Fixes intermittent connection hangs. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830796 13f79535-47bb-0310-9956-ffa450edef68
* Fixed lack of checking for reserved exchange names that start with "amq." ↵Kim van der Riet2009-10-281-0/+3
| | | | | | according to the AMQP spec. Added a python test for this functionality. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830751 13f79535-47bb-0310-9956-ffa450edef68
* Reduce redundancy in cluster log output.Alan Conway2009-10-282-6/+2
| | | | | | | start_cluster: Use PID in cluster name to avoid name clashes with multiple tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830696 13f79535-47bb-0310-9956-ffa450edef68
* Fixed problem where broker does not persist the alternate exchange setting ↵Kim van der Riet2009-10-285-4/+28
| | | | | | to the store for durable exchanges, and these settings were being lost upon recovery. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830687 13f79535-47bb-0310-9956-ffa450edef68
* Fix unused arg warningsStephen D. Huston2009-10-282-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830649 13f79535-47bb-0310-9956-ffa450edef68
* Adapt to Boost.system only in 1.35 and laterStephen D. Huston2009-10-281-7/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830648 13f79535-47bb-0310-9956-ffa450edef68
* Set up COM initialization before trying to database connection in ↵Stephen D. Huston2009-10-271-0/+1
| | | | | | earlyInitialize. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830397 13f79535-47bb-0310-9956-ffa450edef68
* Use class/struct consistently for OutgoingMessage.Stephen D. Huston2009-10-272-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830395 13f79535-47bb-0310-9956-ffa450edef68
* Add install steps.Stephen D. Huston2009-10-271-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830311 13f79535-47bb-0310-9956-ffa450edef68
* Include store directory; fix moved FailoverListener.h file; add a bunch of ↵Stephen D. Huston2009-10-271-110/+94
| | | | | | install stuff for Windows. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830309 13f79535-47bb-0310-9956-ffa450edef68
* Added missing resetDequeueCompleteCallback calls to ~IncompleteMessageList.Alan Conway2009-10-271-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830269 13f79535-47bb-0310-9956-ffa450edef68
* 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