summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
Commit message (Collapse)AuthorAgeFilesLines
* NO-JIRA: Trivial update to work with changed Boost 1.59 Test library.Andrew Stitcher2015-08-201-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1696716 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6435: Restore decent error messages to the SSL codeAndrew Stitcher2015-08-208-62/+73
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1696715 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6698: use the monotonic clock for AMQP 1.0 idle timeoutKen Giusti2015-08-182-4/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1696415 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6577: HA - backup broker messages are larger than primary messages.Alan Conway2015-08-044-2/+16
| | | | | | | | | | | Under the 0-10 protocol (used by HA) brokers add an "exchange" property to each message for the exchange the message arrived on .This is different (and sometimes longer) on the backup brokers from the primary since on the backups the message arrives on a special replication exchange. This fixes backup brokers to not modify the exchange property on messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1694094 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6661: address some anomalies with heartbeats on the AMQP 1.0 pathGordon Sim2015-07-282-1/+3
| | | | | | | * the ticker driving heartbeats are restarted whenever data is sent out * the client checks whether there is data pending in determining whether it can encode git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1693067 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6660: don't try to process incoming delivery events for link that has ↵Gordon Sim2015-07-271-0/+2
| | | | | | been closed git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1692938 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6659: wait for full message before processingGordon Sim2015-07-271-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1692937 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6654, QPID-6592: ensure system info ptr is valid before using it, and ↵Gordon Sim2015-07-273-11/+14
| | | | | | ensure it is valid even if management is disabled git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1692936 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6639: delegate input as soon as authentication has succeeded (even if ↵Gordon Sim2015-07-141-1/+1
| | | | | | that has not yet been communicated to peer) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1690874 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6256: prevent unused local variable warningGordon Sim2015-07-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1690873 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6641: Update Windows SDK build for VS2013, Boost 1.58Charles E. Rolke2015-07-131-1/+2
| | | | | | | | Relax requirement for boost/include dir. Boost.org upstream builds don't have them. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1690816 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6256: fix for conversion error on some versions of boostGordon Sim2015-06-231-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1687094 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6602: remove extraneous replenishment of credit (that is done by the ↵Gordon Sim2015-06-191-5/+0
| | | | | | call to get already) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1686476 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6256: Improved handling of protocol version incompatibilitiesGordon Sim2015-06-1715-66/+230
| | | | | | | | | | | | | | | | * 0-10 path no longer hans on open when connecting to a broker not supporting that version * the 'protocol' connection option now supports specifying multiple protocols to try in order (as a coma separated list) * the protocol defaults, i.e. the value assumed if the 'protocol' connection option is not specified, can now be set via the client config file (e.g. protocol-defaults=amqp1.0,amqp0-10) or an environment variable (e.g QPID_PROTOCOL_DEFAULTS=amqp1.0,amqp0-10) * if neither the connection option nor the defaults are specified all valid versions will be tried (currently amqp0-10, then amqp1.0 but this may change in a future version) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1686078 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6592: include identifying information in the connection handshakeKen Giusti2015-06-173-0/+34
| | | | | | | | | | For AMQP 1.0 connections, this patch adds identification information to the connection properties in the open performative. For AMQP 0-10 connections, this information is provided in the server-properties argument of the connection.start control. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1685995 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6392: detach not support until after proton 0.7Gordon Sim2015-06-151-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1685594 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6568: bump the minimum supported proton to 0.7Ken Giusti2015-06-154-20/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1685587 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6297: Python client should reconnect after network glitchErnest Allen2015-06-101-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1684716 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6392: handle detach eventGordon Sim2015-06-104-7/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1684680 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6563: free sessions and links that have completely closedKen Giusti2015-06-031-2/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1683379 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: remove unused strings.Charles E. Rolke2015-05-291-2/+0
| | | | | | | | ConnectionHandler no longer (since 2008-05-21) deals directly with auth. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1682469 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6559: add PLAIN support for NullSaslClientGordon Sim2015-05-293-8/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1682440 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: relax check when auth=noGordon Sim2015-05-271-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1682007 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6551: [C++ broker]: linearstore raising JERR_LFCR_SEQNUMNOTFOUND after ↵Pavel Moravec2015-05-216-29/+29
| | | | | | sending many DTX transactions git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1680861 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6548: SYSV init scripts do not work properly wiht SSL-only broker.Alan Conway2015-05-201-17/+43
| | | | | | | | | | | | Previously the broker was writing a PID file with the port number as a suffix. This was confusing the tools when using SSL and no explicit port, as the actual listening port is 5671 but qpidd -c was looking for 5672. This commit introduces a simple --pidfile option which writes the pid exactly where you tell it with no frills. The original port-pidfile setup is over complex and not really necessary, it can be deprecated at some future time. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1680550 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: fix tests for python 2.4Gordon Sim2015-05-201-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1680478 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix test bugs in ha_tests and interop_testAlan Conway2015-05-192-1/+3
| | | | | | | Race conditions in ha_tests. Typo in skip logic for interop_test when recent proton not available. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1680422 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: make qpid-send send as string not binaryGordon Sim2015-05-151-2/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1679556 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6537: [windows warning] adjust definition of Handle operatorsCharles E. Rolke2015-05-121-4/+5
| | | | | | | | | | Warning was: "no suitable definition provided for explicit template instantiation request". This fix simply mirrors the code in messaging/Handle.h. (Finally *removing* an EXTERN storage-class attribute fixes a build!) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1679024 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6537: [Windows warning] avoid implicit conversion double->floatCharles E. Rolke2015-05-121-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1679012 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix floating point FieldValue tests to work on older ↵Alan Conway2015-05-071-8/+8
| | | | | | | | | | compilers/boost versions. This fixes compile errors seen on gcc-c++-4.1.2-55.el5, boost-devel-1.33.1-16.el5_9 Float/double conversion and template matching issues. Probably down to boost, but might be gcc related. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1678246 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6532: make sasl service name configurableGordon Sim2015-05-068-10/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1678094 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6529: Fix version number comparison for 0.9 -> 0.10 transition.Charles E. Rolke2015-05-041-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1677680 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6511: AMQP 0.10 windows clients cannot connect to no-auth qpidd broker.Charles E. Rolke2015-05-011-4/+14
| | | | | | | | | | | | 1. Do not negotiate SASL EXTERNAL or PLAIN if no username is specified. Note that a blank PLAIN password is allowed. 2. If SASL ANONYMOUS is negotiated then return a response of "anonymous@<hostname>", which is what the linux client returns. The client provides a username for the host in all cases. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1677224 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6526: fix to last commit, lock needs to be held for attachGordon Sim2015-05-011-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1677197 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6526: make sure that the creation of proton links is done with the lock ↵Gordon Sim2015-04-303-22/+50
| | | | | | held git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1677064 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6521: ensure messages received presettled by peer are settled locally; ↵Gordon Sim2015-04-302-3/+6
| | | | | | thanks to Alan Conway for the working patch! git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1677016 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6524: [C++ broker]: Fix for QPID-5107 incomplete for queuesPavel Moravec2015-04-301-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1676982 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Add log command to qpid-config to set log levels.Alan Conway2015-04-271-4/+6
| | | | | | | | | Get current level: qpid-config log Set new level: qpid-config log <newlevel> Fixed bugs in getLogLevel and in handling invalid log levels. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1676333 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6470: Fix float conversion problems.Alan Conway2015-04-168-163/+167
| | | | | | | | | | Previous code would incorrectly convert between float and int types producing nonsense values, and would not allow legal conversions between float and double types. Created FixedWidthIntValue and FixedWidthFloatValue template subclasses to correctly handle conversions. Enabled FieldValue unit tests for float conversions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1674137 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6492: make sure local terminus is null in the attache we send back if ↵Gordon Sim2015-04-151-2/+12
| | | | | | it will be immediately followed by a detach due to error git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1673949 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6493: cmake install TARGET component syntax error.Charles E. Rolke2015-04-151-32/+25
| | | | | | | | | | | | | | Patch from Scott M Stark. Reviewed at https://reviews.apache.org/r/33195 This patch worked fine in my tests with the exception that using the install command 'cmake -DCOMPONENT=development -P src/cmake_install.cmake' executes the install but does not produce an install_manifest.txt file. While not essential the install_manifest.txt files are part of my routine housekeeping. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1673897 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6484: check for non-existent error descriptionGordon Sim2015-04-105-39/+97
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1672639 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6470: fix stray letters from commit 1671125Charles E. Rolke2015-04-061-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1671530 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6399: Fix store tests for run_test option syntax change.Alan Conway2015-04-032-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1671128 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6470: FieldValue::getFloatingPointValue() converts endian each time it ↵Alan Conway2015-04-035-43/+45
| | | | | | | | | | | | | | | | | | | | | is called. When calling getFloatingPointValue multiple times, the octets are endian-converted each time. Actually we need to make a copy first and then call convertIfRequired(). This fix is from a pull request by Pavel Pokutnev (see the JIRA). commit 4ed0ce9c9b74b136c49735b19efb80489aa495a3 His original patch was correct, I made some additions: - Added a unit test: qpid/cpp/src/tests/FieldValue.cpp - Fixed some incorrect uses of "const" in nearby code. - Replaced a for loop with std::copy, more readable and more optimizable. There are still serious problems with float conversion shown up by the unit tests, the relevant tests are commented out till these issues are fixed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1671125 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix race condition in HA tests, remove useless test.Alan Conway2015-04-031-21/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1671124 13f79535-47bb-0310-9956-ffa450edef68
* Align run_test shell and Powershell versions. Changes the option syntax from ↵Stephen D. Huston2015-03-174-69/+165
| | | | | | two-hyphen to one. Fixes QPID-6399. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1667349 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6444: remove unused functionsGordon Sim2015-03-112-17/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1665954 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6427: Problem building trunk qpid cpp on RHEL 5aconway2015-03-054-6/+6
| | | | | | Fixed a couple of legitimate compiler warnings, worked around a couple of compiler weaknesses. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1664517 13f79535-47bb-0310-9956-ffa450edef68