summaryrefslogtreecommitdiff
path: root/cpp/src/qpid
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert "QPID-3352: Fix test for failed session to avoid confusion with as ↵Alan Conway2012-01-205-12/+7
| | | | | | | | | yet uninitialised session" This reverts commit r1233083. It caused a test failure run_federation_tests: federation.FederationTests.test_pull_from_queue_recovery git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1233949 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Replace public broker::Consumer::position variable with get/set ↵Alan Conway2012-01-181-3/+3
| | | | | | | | function pair. Fix to r1233080 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1233102 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Added public broker::Connection::isLink function.Alan Conway2012-01-182-17/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1233088 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Merge SemanticState unsubscribe with cancel.Alan Conway2012-01-183-9/+7
| | | | | | Simplyfig the code, there is no need for these to be separate functions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1233087 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Act on bridge cancellations before creationsAlan Conway2012-01-181-7/+9
| | | | | | This ensures that recreation of a bridge does not result in two active subscriptions (evench can cause confusion for replicators, even if they are both active only for a very short period). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1233086 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Fix spurious "exchange not found" error and debug messages.Alan Conway2012-01-184-66/+58
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1233085 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Consistent find/get functions for Queue and Exchange registries.Alan Conway2012-01-184-5/+33
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1233084 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3352: Fix test for failed session to avoid confusion with as yet ↵Alan Conway2012-01-185-7/+12
| | | | | | uninitialised session git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1233083 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Ensure listeners are notified of available messages even when a ↵Alan Conway2012-01-181-7/+6
| | | | | | consumer also exists (note that replicating browser sees acquired messages) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1233082 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Break infinite "detached" loop between federated brokers.Alan Conway2012-01-181-2/+4
| | | | | | | Don't reply to a "detached" in case of error. Doing so can create an infinite game of "detached tennis" between federated brokers. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1233081 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Replace public broker::Consumer::position variable with get/set ↵Alan Conway2012-01-186-13/+20
| | | | | | | | function pair. Public member variables are not good sytle. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1233080 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3630: remove additional code in client.Kenneth Anthony Giusti2012-01-133-93/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1231222 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3630: remove deprecated rate limiting featureKenneth Anthony Giusti2012-01-138-221/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1231221 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3755 - Concurrent queue bind on the same queue results in crashTed Ross2012-01-132-3/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1231158 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3438Michael Goulish2012-01-054-10/+1
| | | | | | | | | | Remove unnecessary changes to broker. The cluster code does not really need to know that the cnx error was due to auth failure. Any failure before the cnx has opened should cause the cnx to be removed from the 'local' map, or a cnx leak will occur. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1227616 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3492: Fix quoted values as well as unquoted values; added a test caseGordon Sim2012-01-031-7/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1226931 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3438Michael Goulish2011-12-166-3/+27
| | | | | | | fix cluster causing cnx leak when bad credentials are given in login attempt. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1215127 13f79535-47bb-0310-9956-ffa450edef68
* added explicit cast, required by some compiler versions, namely on s390 archNuno Santos2011-12-121-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1213485 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3669: Configuration option for path to watchdog executable.Alan Conway2011-12-081-6/+8
| | | | | | | | Added --watchdog-exec option to watchdog plugin to specify path to the qpidd_watchdog executable, so it can be installed in a non-standard place. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1212077 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3666: replace both the index and the value when updating duplicate objectsKenneth Anthony Giusti2011-12-071-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1211660 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3652 Fix cluster authenticationCharles E. Rolke2011-12-071-3/+3
| | | | | | | Add missing additions to CMakeLists. Add windows export macro so new functions are published in dll. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1211458 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3652: Fix cluster authentication.Alan Conway2011-12-0613-24/+341
| | | | | | | | | | | | | | | | | | | Only allow brokers that authenticate as the cluster-username to join a cluster. New broker first connects to a cluster broker authenticates as the cluster-username and sends its CPG member ID to the qpid.cluster-credentials exchange. The cluster broker that subsequently acts as updater verifies that the credentials are valid before connecting to give the update. NOTE 1: If you are using an ACL, the cluster-username must be allowed to publish to the qpid.cluster-credentials exchange. E.g. in your ACL file: acl allow foo@QPID publish exchange name=qpid.cluster-credentials NOTE 2: This changes the cluster initialization protocol, you will need to restart the cluster with all new version brokers. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1210989 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3648: fix cleanup of remote agent on broker shutdown.Kenneth Anthony Giusti2011-11-291-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1207877 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3629: Changed management of credit windowGordon Sim2011-11-238-57/+281
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1205467 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - Fixed the handling of functions with ignored return values.Ted Ross2011-11-222-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1205183 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3180: Further fix to the size checking logic for ring queuesGordon Sim2011-11-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1203835 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3615: deprecate max-session-rate feature.Kenneth Anthony Giusti2011-11-141-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1201854 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3608: Improve C++ broker consume performanceAndrew Stitcher2011-11-112-36/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1200925 13f79535-47bb-0310-9956-ffa450edef68
* add timestamp of oldest msg per group to query outputKenneth Anthony Giusti2011-11-091-1/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1199914 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3553: prevent multiple connection-tune-ok controls from leaving ↵Gordon Sim2011-11-031-4/+8
| | | | | | dangling pointers in timer git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1197218 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3577: assign null group identifiers to the default groupKenneth Anthony Giusti2011-11-021-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1196682 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3577: undo commit - qpidd.1 changes should not have been committedKenneth Anthony Giusti2011-11-021-4/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1196656 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3577: assign null group names to the default groupKenneth Anthony Giusti2011-11-021-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1196635 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3514: Allow SSL and non SSL connections on the same port.Andrew Stitcher2011-11-011-0/+3
| | | | | | | | | - Fixes to allow tcp to report the correct port so that the correct name gets used for the pidfile - Improved the ssl tests: refactoring them, and adding a new test for broker chosen ssl muxed ports git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1196319 13f79535-47bb-0310-9956-ffa450edef68
* NO_JIRA: Small mods to certain log trace and debug messages to improve log ↵Kim van der Riet2011-10-317-17/+17
| | | | | | message consistency git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1195433 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3563: Protect from concurrent access to accept tracker stateGordon Sim2011-10-311-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1195385 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3346: prevent taking non-head of free group, additional performance tweaksKenneth Anthony Giusti2011-10-283-57/+118
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1190374 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3514: Allow SSL and non-SSL connections on the same port. Applied patch ↵Gordon Sim2011-10-207-136/+283
| | | | | | from Zane Bitter and added simple test case. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1187011 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2323 - Fixed a build error by adding a missing include.Ted Ross2011-10-181-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1185673 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2323 Add Uuid to variantCharles E. Rolke2011-10-172-7/+15
| | | | | | | | This patch adds a const_cast to the Uuid buffer references. On Solaris the Uuid library calls take non-const args. See also r881679 for related Solaris fix-ups. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1185373 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3540 align issues in SolarisCharles E. Rolke2011-10-172-25/+8
| | | | | | | | | | Restore original code. Then: 1. Change new/delete to malloc/free. Malloc guarantees alignment for any struct. 2. Change store from char* to void*, solving Solaris complaint. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1185350 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2905 Fixes for mingw cross-compilation (C++)Charles E. Rolke2011-10-171-3/+3
| | | | | | Restore unreachable code for Solaris builds. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1185312 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3540 Charles E. Rolke2011-10-141-0/+1
| | | | | | | | Include boost/cstdint.hpp to get uintptr_t git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1183469 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3549 - Improved handling of boolean configuration options in Queue.cppTed Ross2011-10-141-4/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1183455 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3540 Typecasting and alignment requirements for various platformsCharles E. Rolke2011-10-142-4/+23
| | | | | | | | | | | | | In RefCountedBuffer: 1. Pad the instantiantion address of RefCountedBuffer class up to an 8-byte boundary. 2. Add (void *) casts to 'store' pointer to prevent warnings about alignment. In qpid-perftest: 1. Don't pull a size_t object from an arbitrary buffer address. Instead, memcopy the object by bytes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1183378 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3528Michael Goulish2011-10-131-3/+26
| | | | | | | | | | | | sasl_set_path() does no check on the given directory, so when you get bad behavior later it can be hard to track down. Especially bad is its policy of defaulting to an alternate standard location if yours fails. That's a potential security bug. So this patch checks that your dir exists, and is readable, before calling sasl_set_path(). Either you get the sasl config dir you were expecting, git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1183121 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3346: code cleanup - move private code out of headers, delete dead code.Kenneth Anthony Giusti2011-10-132-80/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1183001 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3544: ACL denials while replicating exclusive queues to a newly joined ↵Alan Conway2011-10-124-9/+5
| | | | | | | | node. Changes missed from previous commit. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1182514 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3417: C++ broker - support adding arrival timestamp to received messages.Kenneth Anthony Giusti2011-10-128-8/+78
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1182490 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3544: ACL denials while replicating exclusive queues to a newly joined ↵Alan Conway2011-10-123-2/+8
| | | | | | | | node. Disabled ACL during cluster update process. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1182451 13f79535-47bb-0310-9956-ffa450edef68