summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/qpid
Commit message (Collapse)AuthorAgeFilesLines
* NO-JIRA: Corrected location of some tracingAndrew Stitcher2011-05-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1128070 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Windows: set up name to connect to before connecting (as unix code)Andrew Stitcher2011-05-261-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1128069 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3282: Potential bug in circular connection detection:Andrew Stitcher2011-05-264-7/+28
| | | | | | | - make sure that we compare numeric addresses of both local and remote ends of the connection (previously the remote end could be an unresolved hostname) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1128068 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Add cached localname as well as peername to SocketAndrew Stitcher2011-05-263-15/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1128067 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Small improvements to Socket codeAndrew Stitcher2011-05-261-9/+5
| | | | | | | - Rewrite SocketAddress::operator= in terms of copy constructor - Improve error diagnostic git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1128066 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove a lot of redundant stuff from the Socket codeAndrew Stitcher2011-05-269-173/+13
| | | | | | - Removal of unused code git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1128065 13f79535-47bb-0310-9956-ffa450edef68
* Refactor socket connect calls to take a string portAndrew Stitcher2011-05-2625-71/+73
| | | | | | This is used used to implement unix domain sockets - QPID-3281 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1128064 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3252Charles E. Rolke2011-05-261-1/+3
| | | | | | | | Touch up a compile failure when assert() compiles to nothing, leaving an "unused" variable. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1127947 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3278: pass container for expired messages by referenceGordon Sim2011-05-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1127901 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2905 - Code modifications to enable Windows builds with the mingw32 ↵Ted Ross2011-05-189-19/+92
| | | | | | compiler. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1104662 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2905 - Misc. code cleanup to allow compilation on a wider set of compilers.Ted Ross2011-05-177-16/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1104560 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3186 - Import Export generalization to support a larger set of ↵Ted Ross2011-05-1721-38/+47
| | | | | | compilers and run time environments git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1104559 13f79535-47bb-0310-9956-ffa450edef68
* Remove support for archaic Boost version 1_32 ( 103200 ).Michael Goulish2011-05-171-269/+0
| | | | | | | ( As promised, long ago. ) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1104291 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3252: flush msgs when sync requested.Kenneth Anthony Giusti2011-05-112-12/+68
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1101864 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3004: Get Clang to compile qpid c++Andrew Stitcher2011-05-091-1/+6
| | | | | | | | - Make clang use slow mutex protected AtomicValue This is the simplest solution to clang not supporting 64 bit atomic builtins. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1101185 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3004: Get Clang to compile qpid c++Andrew Stitcher2011-05-092-6/+6
| | | | | | | - Add new template function for FieldValue::getIntegerValue() to avoid compile error when extracting into 1 byte ints. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1101183 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3004: Get Clang to compile qpid c++Andrew Stitcher2011-05-094-3/+8
| | | | | | - Finish getting boost::intrusive_ptr working (may be compiler bug) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1101181 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3004: Get Clang to compile qpid c++Andrew Stitcher2011-05-091-3/+3
| | | | | | | - Explicitly specify parent method as clang didn't find it [is this a clang++ 2.9 bug?] git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1101180 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3004: Get Clang to compile qpid c++Andrew Stitcher2011-05-094-14/+1
| | | | | | - Removed unused code causing warnings git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1101179 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3004: Get Clang to compile qpid c++Andrew Stitcher2011-05-097-11/+12
| | | | | | | - Change class/struct declarations to be consistent with the definition to avoid warnings git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1101178 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3004: Get Clang to compile qpid c++Andrew Stitcher2011-05-091-1/+1
| | | | | | - Remove illegal mutable git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1101177 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3004: Get Clang to compile qpid c++Andrew Stitcher2011-05-091-1/+1
| | | | | | - Fixed constness when getting message property git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1101176 13f79535-47bb-0310-9956-ffa450edef68
* Added Windows high-res timer output. Resolves QPID-3236Stephen D. Huston2011-05-071-6/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1100638 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3244: fix windows buildKenneth Anthony Giusti2011-05-041-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1099424 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3244: C++ broker should release flow control for a queue when it is ↵Kenneth Anthony Giusti2011-05-032-1/+16
| | | | | | deleted. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1099283 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3243: correctly use --max-queue-count value to compute flow limit.Kenneth Anthony Giusti2011-05-031-3/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1099278 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3241 - Deadlock in qmf agent triggered by producer flow controlTed Ross2011-05-031-164/+178
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1099225 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3236 - Add high-resolution timestamps to log files for debug ↵Kim van der Riet2011-05-024-3/+28
| | | | | | situations. Windows impl has a stub only. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1098554 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3227: assert if application or reserved header overflows send buffer.Kenneth Anthony Giusti2011-04-292-5/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1097934 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3235: clustered qpidd broker fails ocassionly the ↵Alan Conway2011-04-293-29/+35
| | | | | | | | | | | | cluster_tests.ShortTests.test_route_update Inconsistent stats changes on a Link were causing cluster inconsistency. Fix is to disable those stats changes in a cluster. Updated cluster_tests.py to reliably generate the error every time without the fix. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1097838 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3076: fix compilation for older version of boost library.Kenneth Anthony Giusti2011-04-281-3/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1097571 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3076: enable flow control for clustered broker configurations.Kenneth Anthony Giusti2011-04-2810-71/+223
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1097432 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3227: account for extra header bytes when computing data size for send ↵Kenneth Anthony Giusti2011-04-273-11/+14
| | | | | | buffers. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1097102 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3222: Prevent ttl overflow; also adds equality operators for ↵Gordon Sim2011-04-262-3/+16
| | | | | | qpid::messaging::Duration. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1096751 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3217: Exchanges with IVE option cause cluster inconsistencies in updateesAlan Conway2011-04-191-1/+5
| | | | | | | Since this option is rarely used, the short term fix is to disallow IVE in a cluster. This is not a regression since it didn't work anyway. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1095209 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3215: cached exchange reference can cause cluster inconsistencies if ↵Alan Conway2011-04-191-1/+1
| | | | | | | | | exchange is deleted/recreated (2) Previous commit only updated one of the two Exchange constructors, this commit updates the other. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1095201 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3215: cached exchange reference can cause cluster inconsistencies if ↵Alan Conway2011-04-194-14/+19
| | | | | | | | | | | | | | | | | exchange is deleted/recreated SemanticState::route() uses a simple cache variable to avoid looking up the exchange for every message. However if the exchange in question is deleted, even if then recreated, this can cause inconsistencies in a cluster. Even in a stand-alone broker messages can be routed by a deleted exchange because of the cache. Fix is to mark the exchange deleted and check the status when using the cached exchange. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1095144 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3208: Exchanges make best effort to route messages if there is an error.Alan Conway2011-04-181-7/+53
| | | | | | | | | | | | | | | Previously if multiple queues were bound to the same routing key, then a failure to deliver to one of the queues (e.g. policy limit error) could prevent delivery on some of the other queues. With this commit the exchange delivers to every queue that did not have an error before raising an error. Note: this was originally committed as r1092765, but it caused test failures was reverted as r1092804. The original commit did not create exceptions of the correct type. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1094734 13f79535-47bb-0310-9956-ffa450edef68
* Revert "QPID-3208: Exchanges make best effort to route messages if there is ↵Alan Conway2011-04-151-56/+3
| | | | | | | | an error." This reverts commit r1092765 which introduced test failures in make check. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1092804 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3204: Add logging for queue threshold eventsGordon Sim2011-04-151-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1092772 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3208: Exchanges make best effort to route messages if there is an error.Alan Conway2011-04-151-3/+56
| | | | | | | | | | | Previously if multiple queues were bound to the same routing key, then a failure to deliver to one of the queues (e.g. policy limit error) could prevent delivery on some of the other queues. With this commit the exchange delivers to every queue that did not have an error before raising an error. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1092765 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3206: added special cases to catch negative numeric string conversions ↵Gordon Sim2011-04-141-4/+17
| | | | | | to unsigned values git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1092219 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3202: Clustered brokers shut down with "unknown connection" error.Alan Conway2011-04-134-18/+27
| | | | | | | | | | | This error is an assertion recently introduced in r1091097, the bug has probably been there for a while. Two fixes: - Connections that close before they are announced no longer send a deliver-close. - Fixed race in OutputInterceptor that sent a deliver-do-output after deliver-close. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1091790 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3201: locking in NullMessageStore to protect set of prepared xidsGordon Sim2011-04-122-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1091443 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3199: Locking error qpid::sys::StateMonitorAndrew Stitcher2011-04-111-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1091224 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3197: prevent async command completer from accessing session's ↵Kenneth Anthony Giusti2011-04-112-3/+26
| | | | | | connection when session is detached git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1091167 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3198: Clustered broker should exit on unknown connection.Alan Conway2011-04-111-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1091097 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3170: correct deletion of federation routes when keys match.Kenneth Anthony Giusti2011-04-086-50/+77
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1090266 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3191: A fix for the performance problem which replaces the ↵Kim van der Riet2011-04-083-18/+29
| | | | | | QueueListeners std::vector with a std::deque and adds some other improvements. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1090252 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix bug in Cluster::timerDrop - calling wrong function.Alan Conway2011-04-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1089953 13f79535-47bb-0310-9956-ffa450edef68