summaryrefslogtreecommitdiff
path: root/cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* 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-1922-105/+2471
| | | | | | 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-3306 - Provides a more Ruby-like set of APIs on top of the bindings ↵Ted Ross2011-07-152-0/+101
| | | | | | | | | | | | | | | | | | | | | | | created by swig. Applied patch from Darryl Pierce Created the Rakefile for automating tasks. The Rakefile allows us to run both unit and integration tests. Also included a README.rdoc file. All tests are in the "test:" namespace, and can be run with the commands: rake test:units rake test:integrations rake test:all # runs both unit and integraton tests rake test # alias for test:all git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1147252 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3306 - Provides a more Ruby-like set of APIs on top of the bindings ↵Ted Ross2011-07-154-0/+393
| | | | | | | | | | | | | | | created by swig. Applied patch from Darryl Pierce Created the Connection class and its unit tests. The Connection class is packaged as follows: Qpid::Messaging::Connection git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1147249 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3306 - Provides a more Ruby-like set of APIs on top of the bindings ↵Ted Ross2011-07-154-0/+633
| | | | | | | | | | | | | | | | | created by swig. Applied patch from Darryl Pierce Created the Session class and its unit tests. The Session class is packaged as follows: Qpid::Messaging::Session A Session can create a Sender or a Receiver endpoint. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1147247 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3306 - Provides a more Ruby-like set of APIs on top of the bindings ↵Ted Ross2011-07-154-0/+342
| | | | | | | | | | | | | | | created by swig. Applied patch from Darryl Pierce Created the Receiver class and its unit tests. The class is packaged as follows: Qpid::Messaging::Receiver git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1147246 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3306 - Provides a more Ruby-like set of APIs on top of the bindings ↵Ted Ross2011-07-154-0/+267
| | | | | | | | | | | | | | | | | created by swig. Applied patch from Darryl Pierce Created the Sender class and its unit tests. The class is packaged as follows: Qpid::Messaging::Sender A Sender can send a message. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1147243 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3306 - Provides a more Ruby-like set of APIs on top of the bindings ↵Ted Ross2011-07-154-0/+438
| | | | | | | | | | | | | | | | | | created by swig. Applied patch from Darryl Pierce Created the Message class and its unit tests. The class is packaged as: Qpid::Messaging::Message A Message can return its content and be used to send a message over an instance of Sender. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1147241 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3306 - Provides a more Ruby-like set of APIs on top of the bindings ↵Ted Ross2011-07-154-0/+166
| | | | | | | | | | | created by swig. Applied patch from Darryl Pierce Created the Ruby bindings for Address. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1147240 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3306 - Provides a more Ruby-like set of APIs on top of the bindings ↵Ted Ross2011-07-154-0/+204
| | | | | | | | | | | | | | | created by swig. Applied patch from Darryl Pierce Created the encode and decode methods in Qpid::Messaging. These methods differ from the same methods in Cqpid in that they handle working with symbols and other non-string values. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1147239 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3306 - Provides a more Ruby-like set of APIs on top of the bindings ↵Ted Ross2011-07-152-0/+64
| | | | | | | | | | | | | | | | | | created by swig. Applied patch from Darryl Pierce Created the Duration namespace for duration contants. Added constants to map the C++ values to symbols within Ruby: * FOREVER * IMMEDIATE * MINUTE * SECOND git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1147235 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3306 - Provides a more Ruby-like set of APIs on top of the bindings ↵Ted Ross2011-07-154-0/+105
| | | | | | | | | | | | | | created by swig. Applied patch from Darryl Pierce Created the Qpid Ruby libraries. The libraries provide a more Ruby-esque way of using the Qpid libraries that are generated via SWIG. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1147234 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - Fixed two EXTERN declarations in FieldTable.hTed Ross2011-07-151-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1147147 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-3333: Patches from Anthony Foglia to close the gap between ↵Gordon Sim2011-07-121-1/+272
| | | | | | qpid.messaging and swig based python 'binding' (this includes patches 0001 to 0008 as attached to JIRA) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1145698 13f79535-47bb-0310-9956-ffa450edef68