summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker
Commit message (Collapse)AuthorAgeFilesLines
* 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-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-126-6/+72
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1182490 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3522: Distinguish between null and empty string for sasl responseGordon Sim2011-10-125-36/+69
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1182212 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3543: correctly dequeue messages that are auto-acknowledged.Kenneth Anthony Giusti2011-10-111-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1182084 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3346: move message group feature into trunk.Kenneth Anthony Giusti2011-10-0721-192/+1334
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1180050 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3304Michael Goulish2011-09-291-0/+6
| | | | | | | | | | | ( well, at least related to that jira ^^ ) Without these extra locks I got a broker SEGV during a federation test. 100% reproducible, 5 times. gsim suggested that this might be the issue. After placing these locks, no SEGV in many tries. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1177412 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3502: Ensure accepts are sent when required for asynchronously ↵Gordon Sim2011-09-231-3/+1
| | | | | | completed messages git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1174800 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3488: Ensure that message-stop clears any outstanding credit 'window'Gordon Sim2011-09-152-2/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1171174 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3487: Ensure delivery records for cancelled subscriptions are correctly ↵Gordon Sim2011-09-152-1/+5
| | | | | | cleaned up git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1171078 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3384: DTX transactions - replicate suspended transactions.Alan Conway2011-08-301-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1163347 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3384: Fix compilation errors for boost 1.39 and gcc 4.4.4Gordon Sim2011-08-261-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1162092 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3455: Don't treat unspecified frame size as implying the minimum value. ↵Gordon Sim2011-08-261-1/+1
| | | | | | Prevent infinite loop when unable to decode frame in SASL security layer. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1162060 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3384: Enable DTX transactions in a cluster.Alan Conway2011-08-2515-155/+214
| | | | | | | | - Replicate DTX state to new members joining. - Use cluster timer for DTX timeouts. - Incidental: quote nulls in qpid::Msg messages (XIDs often have null characters) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1161742 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3363, QPID-3443: Corrected exception used for 'default access' rule ↵Gordon Sim2011-08-231-2/+5
| | | | | | violations to match that specified for 'exchange-name-required' git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1160607 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3033: Segmentation fault while processing session.attachAlan Conway2011-08-182-11/+9
| | | | | | | | | | | | | | | The initial fix for this bug was incomplete. The original bug was triggered by a faulty client sending session.attach before connection.open. The special case is when the session.attach is on channel 0. This commit fixes the broker for all cases where a faulty client sends frames before completly opening the connection. Older versions of the Java client are known to send this faulty sequence sporadically, see https://issues.apache.org/jira/browse/QPID-3042. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1159329 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3406: Get IPv6 working on Windows portAndrew Stitcher2011-08-121-9/+35
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1157274 13f79535-47bb-0310-9956-ffa450edef68
* two new management properties for connections: the sasl mechanism, and ↵Michael Goulish2011-08-111-1/+8
| | | | | | the ssf (security strength factor). also a change to logging level of one message, so that when we see the list of mechanisms, we will always also see which one was chosen. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1156604 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3403: Remove empty binding list from mapGordon Sim2011-08-101-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1156266 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3410: do not create priority queue if priority count zero or not provided.Kenneth Anthony Giusti2011-08-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1156188 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3363: prevent bind/unbind on default exchangeGordon Sim2011-08-091-3/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1155545 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3400: remove redundant delivery records on releaseGordon Sim2011-08-091-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1155381 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3394: move object copy after changing object state, not before.Kenneth Anthony Giusti2011-08-042-4/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1153966 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3393: Fix CRAM-MD5, need to distinguish between null string and empty ↵Gordon Sim2011-08-041-3/+5
| | | | | | string on sasl_server_start(). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1153883 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove unused #include file, causing compile errors on rhel5.Alan Conway2011-07-201-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1148870 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3304: fixes to windows build, broken by r1148503Gordon Sim2011-07-201-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1148774 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3304: Patch from Gordon Sim plus tests which detect the condition being ↵Kim van der Riet2011-07-196-43/+97
| | | | | | solved. Added a make check-long target to the Makefile in the cpp dir to make it easier to run the long tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1148503 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Trivial code clean-up - LegacyLVQ to use isInBrokerAlan Conway2011-07-191-5/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1148499 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2979: Make windows broker advertise PLAIN even when auth is turned off.Gordon Sim2011-07-151-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1147045 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3352 - Federation bridge doesn't recover from session errorsTed Ross2011-07-123-1/+22
| | | | | | | Applied patch from Jason Dillaman git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1145706 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: minor update to doxygen comment for internal broker interfaceGordon Sim2011-06-281-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1140666 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3121: Cluster management inconsistency when using persistent store.Alan Conway2011-06-231-0/+6
| | | | | | | | | | | | | | | | | With the recent changes to asynchronous completion, completeRcvMsg can be called immediately by the thread that enqueues the message or deferred as an IO Callback till after journal threads are done with the message. The choice between these two options is unpredicatable, so the ordering of management events generated during completeRcvMsg unpredictalbe and can cause an inconsistency error when completeRcvMsg updates connection stats. The fix is to mark completeRcvMsg as a cluster-unsafe scope so no management messages will be generated regardless of how it is called. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1138874 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix compile error on windows due to assigning an AtomicValue.Alan Conway2011-06-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1136971 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3280: further fix compilation error on windowsGordon Sim2011-06-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1136862 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3280: fix compilation error on windows introduced by previous commit ↵Gordon Sim2011-06-171-1/+1
| | | | | | for this JIRA git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1136852 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3280: Performance problem with TTL messages.Alan Conway2011-06-1511-250/+175
| | | | | | | | | | | | When sending a large number of messages with nonzero TTLs to a cluster, overall message throughput drops by around 20-30% compared to messages with TTL 0. The previous approach to TTL in the cluster is replaced with a simpler "cluster clock". Also QueueCleaner is executed in the cluster timer, and modified to be deterministic in a cluster. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1136170 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3140: allow larger queue policy sizesGordon Sim2011-06-132-8/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1135227 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3298: don't include the internal federation related args in the biding ↵Gordon Sim2011-06-091-2/+7
| | | | | | for headers exchange git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1133942 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3284: Eliminated warnings from gcc 4.6 compilerAndrew Stitcher2011-06-073-9/+6
| | | | | | | | - Removed a bunch of variables set but not further used. - Rejigged some asserts which would now have unused vars if compiler -DNDEBUG git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1133166 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3288: "[C++] Broker sets federation link tag as empty string () when no ↵Kim van der Riet2011-06-065-10/+17
| | | | | | tag is present in the client/server properties" git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1132623 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3291: Applied patch fron Andy Goldstein to ensure that expiration is ↵Gordon Sim2011-06-031-1/+1
| | | | | | not lost when adjusting ttl git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1131084 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove a lot of redundant stuff from the Socket codeAndrew Stitcher2011-05-261-5/+0
| | | | | | - Removal of unused code git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1128065 13f79535-47bb-0310-9956-ffa450edef68
* Refactor socket connect calls to take a string portAndrew Stitcher2011-05-264-7/+7
| | | | | | This is used used to implement unix domain sockets - QPID-3281 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@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/qpid@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/qpid@1127901 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2905 - Code modifications to enable Windows builds with the mingw32 ↵Ted Ross2011-05-181-0/+6
| | | | | | compiler. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1104662 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2905 - Misc. code cleanup to allow compilation on a wider set of compilers.Ted Ross2011-05-171-2/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1104560 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3186 - Import Export generalization to support a larger set of ↵Ted Ross2011-05-179-19/+28
| | | | | | compilers and run time environments git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1104559 13f79535-47bb-0310-9956-ffa450edef68