summaryrefslogtreecommitdiff
path: root/cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* QPID-3384: DTX transactions - replicate suspended transactions.Alan Conway2011-08-309-59/+126
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1163347 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA Complete reversion of Msg.h from r1162273 and r1163275Charles E. Rolke2011-08-301-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1163290 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Revert change to Msg.h introduced in r1162273Alan Conway2011-08-304-59/+25
| | | | | | | The change did not compile on windows due to EXTERN declaration issues. Changes has been backed out as it is not critical and can be addressed elsewhere. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1163275 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3457: qpid::Msg::str() method not exportedAlan Conway2011-08-262-3/+3
| | | | | | | Previous fix was incomplete. The class Msg is used by Variant.cpp in the types library. Moved the Msg class from common to types library. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1162273 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2920: A hot-standby design for a new cluster implementation.Alan Conway2011-08-261-0/+239
| | | | | | | | See qpid/cpp/design_docs/hot-standby-design.txt This is in competition with the previous active-active cluster design in qpid/cpp/design_docs/new-cluster-design.txt git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1162272 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3457: qpid::Msg::str() method not exportedAlan Conway2011-08-262-2/+2
| | | | | | | - Added the QPID_COMMON_EXTERN declaration to Msg.h - Removed a spurious #include "Msg.h" from qpid/types/Variant.cpp git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1162233 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3354: Modernize install instructions for the new home of libuuidJustin Ross2011-08-261-10/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1162219 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3384: Fix cmake build (added missing file to list)Gordon Sim2011-08-261-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1162104 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3384: Fix compilation errors for boost 1.39 and gcc 4.4.4Gordon Sim2011-08-262-1/+3
| | | | 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-262-1/+2
| | | | | | 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
* Don't try setsockopt IPV6_V6ONLY when setting up new socket. Doesn't work on ↵Stephen D. Huston2011-08-251-5/+0
| | | | | | XP. Addresses note I left in QPID-3406. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1161783 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3384: Enable DTX transactions in a cluster.Alan Conway2011-08-2530-284/+699
| | | | | | | | - 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-3451: make count=0 the default for consistency with python equivalentGordon Sim2011-08-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1161152 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3445: Added some extra checks to decode logic; consolidated exception ↵Gordon Sim2011-08-243-2/+15
| | | | | | handling for message decode. Patch from Paul Colby. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1161119 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3447: Fix windows build broken by previous commit (r1160458) due to ↵Gordon Sim2011-08-231-1/+1
| | | | | | lack of exported method git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1160612 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-3447: Creating invalid federation link causes file descriptor leakAndrew Stitcher2011-08-221-0/+7
| | | | | | | - Previously we weren't correctly handling synchronous errors when we attempted to connect. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1160458 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
* NO-JIRA: Fix test failure if PORT is already set in the environment.Alan Conway2011-08-181-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1159324 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3435: Revised strategy for closing senders/receivers to prevent ↵Gordon Sim2011-08-181-17/+21
| | | | | | possible infinite loop git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1159293 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: eliminate SocketProxy from tests.Alan Conway2011-08-189-253/+28
| | | | | | | | | Was causing problems with changes to introduce IPv6. In most cases this was being used unnecessarilly due to cut-and-paste of tests. In the 2 cases it was useful, replaced by simply shutting down the broker to simulate network failure. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1159268 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Tidy up the Socket/SocketAddress code:Andrew Stitcher2011-08-175-91/+114
| | | | | | | | - Move (almost) all knowledge of difference in address types to SocketAddress - Make the Windows and Posix sockets code more similar with the aim of eliminating differences in the future git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1158934 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA Clean up some text and formatting in .NET binding.Charles E. Rolke2011-08-1710-85/+85
| | | | | | | | | 1. Delete Microsoft name in some projects. 2. Get rid of ascii codes >= 0x80. The copyright symbol is the main culprit. 3. Change 2010 to 2011. 4. Minor tab and trailing whitespace removal. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1158873 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3425: Special handling of reserved exchange names in auto-createGordon Sim2011-08-162-8/+41
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1158370 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3423 - Timing and Performance Improvements in QMF LibrariesTed Ross2011-08-156-27/+86
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1157907 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3405: Added simple C++ system tests for IPv6:Andrew Stitcher2011-08-123-1/+159
| | | | | | | | | - short perftest run which connects to ::1 (old client API) - qpid-send/qpid-receive sending messages between them (new messaging API) - Simple 2 broker federation over IPv6 test - Simple cluster failover via IPv6 test git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1157279 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3405: Implemented simple IPv6 literal parsing/printing for c++ ↵Andrew Stitcher2011-08-123-4/+53
| | | | | | connection URLs git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1157275 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3406: Get IPv6 working on Windows portAndrew Stitcher2011-08-128-85/+187
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1157274 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3405: Slightly hacky way to get reconnect to workAndrew Stitcher2011-08-121-1/+6
| | | | | | | | | | | - If we fail to reset the epoll settings of a file handle when going round the poll loop and it's because the handle is not in the epoll set then just try to add it into the epoll set. This gets round the case where connect closes a socket fd (implicitly taking out of all epoll sets) and then tries to connect again. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1157273 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3405: IPv6 support for Unix C++ ports:Andrew Stitcher2011-08-128-37/+127
| | | | | | | | | | | | - On the Listen side we create separate listening sockets for IPv4 and IPv6 making sure to not allow the IPv6 socket to run dual stack. This makes the reported IPv4 addresses look "normal" and would allow us to turn control IPv4/IPv6 listening separately. - On the connect side we make sure to try all the addresses returned by getaddrinfo() in order until we either find one that connects or have tried all of them. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1157272 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-3412: Do not prefix the subscription queue name with the exchange name ↵Gordon Sim2011-08-111-1/+1
| | | | | | for explicitly named links git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1156586 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3403: Enhancement as suggested by Jason DillamanGordon Sim2011-08-111-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1156560 13f79535-47bb-0310-9956-ffa450edef68
* 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
* NO-JIRA - Added missing template file in distribution.Ted Ross2011-08-051-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1154264 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2643 Building QPID with Visual Studio 2010Charles E. Rolke2011-08-045-9/+19
| | | | | | | | | | | | | | | | | | 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-3333: Older swig impls seem not to deal with Gordon Sim2011-08-041-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1153906 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