summaryrefslogtreecommitdiff
path: root/cpp/src
Commit message (Collapse)AuthorAgeFilesLines
...
* QPID-3411: Restore x-reconnect-on-limit-exceeded optionGordon Sim2011-08-101-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1156327 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3403: Remove empty binding list from mapGordon Sim2011-08-102-0/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1156266 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove redundant code (qpid::Url now does everything required)Gordon Sim2011-08-105-135/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1156262 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
* NO-JIRA: Fixed obsolete federation test to carry on workingAndrew Stitcher2011-08-091-14/+13
| | | | | | - probably should be removed instead git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1155572 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3363: prevent bind/unbind on default exchangeGordon Sim2011-08-093-285/+14
| | | | 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-3399: Qpidd possible memory leaksAlan Conway2011-08-051-10/+11
| | | | | | | | | Replace vector with deque in PollableQueue. Under load the queue can get long, and a vector, which allocates space in a single block, is a memory hog. A deque will give and take memory in reasonable chunks as the queue grows and shrinks. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1154377 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2643 Building QPID with Visual Studio 2010Charles E. Rolke2011-08-043-8/+17
| | | | | | | | | | | | | | | | | | This patch changes: List.h - add a typedef from the original post IntegerTypes.h - adds 'signed' to int_8 to avoid MSVC complaint SessionState.cpp, qpid-perftest.cpp - adds explicit boost:: to disambiguate methods recently defined by 'using std'. CMakeLists.txt - Adds a CMake option that allows user to include '#define _WIN32_WINNT=0x0502' or not. Linux users see no change. This replaces CMake code that includes a similar definition when the build system _has VS2005 installed_. Even if the Generator is VS2010 the def was added because VS2005 is installed. This in not right. Without this definition several components define _WIN32_WINNT=0x0501 to target network and system api components. Those components will still work correctly with 0x0502. Defining _WIN32_WINNT=0x0501 across the board causes a build error in cpp\qpid\store that 0x0502 avoids. This patch will move the minimum required version of Windows from WinXP to WinXP-SP3. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1153993 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: Minor improvements to test scripts.Alan Conway2011-08-022-2/+5
| | | | | | | | allhosts: added -X option for running X clients. qpid-cpp-benchmark: accept comma or space-separated lists for --client-host and --broker. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1153256 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3382: Corrected some exception types for connect errorsGordon Sim2011-08-014-7/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1152853 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3383: Changed to explicit credit management for control subscription in ↵Gordon Sim2011-08-011-2/+3
| | | | | | publishers to prevent incorrect allocation git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1152825 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3372: fixed comparison of desired and actual properties for exchangesGordon Sim2011-07-262-1/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1151154 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: fix trunk break, "except Exception as e" syntax is invalid in ↵Alan Conway2011-07-221-2/+2
| | | | | | python 2.4 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1149733 13f79535-47bb-0310-9956-ffa450edef68
* Corrected qpid-client-test's name when setting up the test script. NO-JIRAStephen D. Huston2011-07-221-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1149571 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-202-4/+4
| | | | 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-1921-105/+2467
| | | | | | 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: Export method in common lib that is now used from within the ↵Gordon Sim2011-07-131-1/+1
| | | | | | broker. (Previous commit for this issue broker the windows build). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1145938 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3355: Declare the wait while waiting for completion. Patch from Jason ↵Gordon Sim2011-07-131-0/+1
| | | | | | Dillaman. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1145936 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3355: Ensure session is not deleted out from under a sync() callGordon Sim2011-07-131-2/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1145935 13f79535-47bb-0310-9956-ffa450edef68
* qpid-3338 fix CMake variable to distinguish toolchains: msvc vs mingwClifford Allan Jansen2011-07-131-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1145883 13f79535-47bb-0310-9956-ffa450edef68
* qpid-3256 additional changes to also work for mingwClifford Allan Jansen2011-07-131-4/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1145876 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3352 - Federation bridge doesn't recover from session errorsTed Ross2011-07-126-4/+83
| | | | | | | Applied patch from Jason Dillaman git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1145706 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3344 - Comparisons of const DataAddr objects are incorrectTed Ross2011-07-123-5/+7
| | | | | | | Applied patch from Zane Bitter git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1145644 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3275 - QMF Console asynchronous correlation-id should be scoped to the ↵Ted Ross2011-07-124-25/+10
| | | | | | session, not the specific agent git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1145557 13f79535-47bb-0310-9956-ffa450edef68
* qpid-3256 Windows fix for loader lock hangClifford Allan Jansen2011-07-121-29/+251
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1145468 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2905 Code modifications to enable Windows builds with the mingw32 compiler.Charles E. Rolke2011-07-071-0/+1
| | | | | | | | See also checkin 1104662. Add newly created file to Makefile.am windows_dist list to ensure the file is included in the cpp source distribution. This patch is required for 0.12 distributions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1143995 13f79535-47bb-0310-9956-ffa450edef68
* JIRA 3337Michael Goulish2011-07-062-4/+4
| | | | | | | | | | | no more defaulting to guest/guest username/password qpidd.sasldb is no longer created -- users who want usernames and passwords in there must create it. but a local qpidd.sasldb is (before this change) being created for 'make check' testing. The etc/sasl2/qpidd.conf file now has an explicit mech list -- so we will no longer default to the system-list. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1143536 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3309: This fix sets the value of the port number in management if the ↵Kim van der Riet2011-07-051-2/+10
| | | | | | broker is started with a port value of 0. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1143078 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3335: remove stale type conversion codeKenneth Anthony Giusti2011-07-012-194/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1141950 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3330: Corrected handling of empty strings (using patch from Anthony ↵Gordon Sim2011-07-012-1/+12
| | | | | | Foglia) and added test case git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1141910 13f79535-47bb-0310-9956-ffa450edef68
* Code HaikuMichael Goulish2011-06-301-0/+1
| | | | | | | | | | | | | | ============================ Summer ---------- A new "dot h" Ripened by the drowsy sun. Doh! forgot makefile! git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1141644 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3329: Configure C++ client connections to replace url-addresses rather ↵Alan Conway2011-06-304-10/+18
| | | | | | than merging new addresses with old git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1141493 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
* NO-JIRA: Add reconnect-timeout to test clients to prevent client hangs.Alan Conway2011-06-272-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1140179 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3321: revised fix to avoid excessive flushingGordon Sim2011-06-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1139382 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3321: flush occasionally to keep the list of pending accepts from ↵Gordon Sim2011-06-242-2/+15
| | | | | | growing too large git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1139334 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: remove dead code in qpid/cpp/src/qpid/cluster/UpdateClient.cppAlan Conway2011-06-231-9/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1139036 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
* QPID-3129: cluster_tests.LongTests.test_failover hangsAlan Conway2011-06-202-5/+15
| | | | | | | | | Problem: the first broker in the cluster could be killed before the receiver was connected, so the receiver could not fail-over, it didn't have a failover update. Fix: wait for the first message to be received by the receiver before starting the broker-kill loop. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1137657 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix compile error on windows due to assigning an AtomicValue.Alan Conway2011-06-172-5/+8
| | | | 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-1533-462/+556
| | | | | | | | | | | | 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
* NO-JIRA: Fix sporadic failures in cluster_tests.py test_management.Alan Conway2011-06-152-4/+8
| | | | | | | | Fix timing problems with broker shut down in this test. Kill all brokers in the test, rather than leaving the last 2 running to be cleaned up by the harness. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1136166 13f79535-47bb-0310-9956-ffa450edef68