summaryrefslogtreecommitdiff
path: root/qpid/cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* QPID-7134: ensure content object is reset when bytes are setGordon Sim2016-03-302-2/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1737093 13f79535-47bb-0310-9956-ffa450edef68
* Bug 1318180 - HA memory leak in primary broker when overwriting messages in ↵Alan Conway2016-03-171-2/+3
| | | | | | | | | | | | | | | | | | a ring queue ReplicatingSubscription accumulates IDs of dequeued messages to send on dispatch. It should clear the accumulated IDs once sent. Due to a merge error, since: 014f0f3 QPID-4327: HA TX transactions: basic replication. The ID set is not cleared, causing it to accumulate memory slowly. This leak would be particularly noticeable on a busy ring-queue since a ring-queue generates a dequeue event for every enqueue once it reaches its max size. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1735439 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7147: Renamed bind to avoid clash with (new for C++11/14) std::bind - ↵Andrew Stitcher2016-03-161-17/+17
| | | | | | The compiler was finding std::bind in preference due to argument dependent lookup. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1735329 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7145: Don't warn for using deprecated declarations (auto_ptr is now ↵Andrew Stitcher2016-03-161-1/+1
| | | | | | deprecated) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1735328 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7146: Fix indentation error picked up by compilerAndrew Stitcher2016-03-161-5/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1735327 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7146: Remove (via preprocessor) unused codeAndrew Stitcher2016-03-161-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1735326 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7146: Fix function binding errorAndrew Stitcher2016-03-162-8/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1735325 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7148: Update CMake files to use better more modern style and featuresAndrew Stitcher2016-03-1610-334/+275
| | | | | | | - This is already the way we do this stuff in Qpid Proton - Upgrade minimum version of CMake to 2.8.7 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1735324 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7134: ensure content object is reset when bytes are setGordon Sim2016-03-102-4/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1734476 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7137: Fix symbol export check to allow for new libstdc++ ABIAndrew Stitcher2016-03-104-63/+116
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1734460 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7131: echo the snd-settle-mode requested by subscribersGordon Sim2016-03-081-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1734165 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7130: added test for retrieving authenticated username when using sslGordon Sim2016-03-082-0/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1734164 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7130: [PATCH 5/5] Deleted old getClientAuthId function that was replaced byGordon Sim2016-03-089-21/+2
| | | | | | | | getPeerAuthId. Patch from Domen Vrankar <domen.vrankar@halcom.si> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1734163 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7130: [PATCH 4/5] Added getPeerAuthId as an alias for getClientAuthId sinceGordon Sim2016-03-087-0/+19
| | | | | | | | | the function returns client auth id on server side and server auth id on client side so the new name is more appropriate. Patch from: Domen Vrankar <domen.vrankar@halcom.si> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1734162 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7130: [PATCH 3/5] Added virtual keyword to functions ~BSDSocket, getKeyLenGordon Sim2016-03-081-3/+3
| | | | | | | | | and getClientAuthId to BSDSocket class since it is used as SslSocket parent class. Patch from Domen Vrankar <domen.vrankar@halcom.si> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1734161 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7130: [PATCH 2/5] Added getLocalAuthId to all socket classes.Gordon Sim2016-03-085-0/+13
| | | | | | Patch from Domen Vrankar <domen.vrankar@halcom.si> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1734160 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7130: [PATCH 1/5] qpid::messaging::Connection::getAuthenticatedUsername()Gordon Sim2016-03-083-21/+45
| | | | | | | | | now returns certificate nickname as authenticated username instead of dummy hardcoded string when using SSL authentication. Patch from Domen Vrankar <dome.vrankar@halcom.si> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1734159 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7127: setting idle timeout to ffffffff fires ConnectionTicker with zero ↵Pavel Moravec2016-03-071-1/+1
| | | | | | timeout git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1733966 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7100: Don't divide by zero when nsubs is 0 in shared mode. Patch from ↵Gordon Sim2016-03-021-2/+2
| | | | | | yuelongguang@letv.com git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1733272 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7076: Avoid error with qpid-cpp-benchmark with 0 senders. Patch from ↵Gordon Sim2016-02-191-3/+6
| | | | | | yuelongguang@letv.com git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1731309 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Added ability to build using Proton from built but not installed ↵Kim van der Riet2016-01-261-0/+12
| | | | | | location git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1726802 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7020: uint16 AMQP0-10 message properties decoded as uint8Pavel Moravec2016-01-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1726487 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7010: ignore updates on deliveries we have already settledGordon Sim2016-01-211-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1726098 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: remove trailing whitespaceGordon Sim2016-01-121-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1724189 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: initialise 'print' option to falseGordon Sim2016-01-121-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1724188 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: update year in NOTICE files (for bits perhaps looking to get ↵Robert Gemmell2016-01-061-1/+1
| | | | | | released soon, rest needs a tidy up). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1723357 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6966: C++ broker and client to support TLS1.1 and TLS1.2 by defaultPavel Moravec2016-01-051-5/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1723066 13f79535-47bb-0310-9956-ffa450edef68
* Fixup QPID-6924 to work if PN_INVALID is not legal as a case labelAndrew Stitcher2015-12-041-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1717997 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6858: update swig type mapping to compile with both python 2 and 3Gordon Sim2015-12-021-15/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1717670 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6924: Add in a case for PN_INVALID, but carry on doing nothing if we ↵Andrew Stitcher2015-12-011-2/+2
| | | | | | have no data git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1717539 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6754: ensure anonymous-relay doesn't expose ability to detect whether ↵Gordon Sim2015-11-262-0/+19
| | | | | | or not entity exists for those without permissions git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1716781 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6754: some AMQP 1.0 based acl tests including for 'anonymous relay' ↵Gordon Sim2015-11-264-76/+482
| | | | | | pseudo-exchange git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1716780 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6870: qpidd does not at present have facility to track deliverability ↵Gordon Sim2015-11-191-2/+9
| | | | | | to individual links, so treat undeliverable-here as rejection git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1715199 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6754: distinguish between null target and null address (depends on ↵Gordon Sim2015-11-094-10/+37
| | | | | | PROTON-1043); add some docs; fix client to set address to null, not the whole target. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1713529 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6834: allow delete-on-close in queue policiesGordon Sim2015-11-063-3/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1713025 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6754: add support for null targetGordon Sim2015-11-067-3/+77
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1713024 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6790: ensure that asynchronous completion of incoming transfers does ↵Gordon Sim2015-10-263-6/+48
| | | | | | not result in trying to settle deliveries implicitly settled by the freeing of their link git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1710683 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6783: dynamically determine SASL service name based on protocolKen Giusti2015-10-125-6/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1708221 13f79535-47bb-0310-9956-ffa450edef68
* NO_JIRA: Updates to ISSUES fileKim van der Riet2015-09-101-27/+63
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1702273 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Improve iostreams error reporting by passing errno to the function ↵Kim van der Riet2015-09-102-7/+10
| | | | | | that checks the outcome of iostream operations. It is hard to find the value of errno in a core trace, but trivial to print it out at the time the error is detected. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1702258 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6730: Make the linearstore journal timeout configurableAndrew Stitcher2015-09-092-10/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1702130 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove CMake warning message due to now deprecated if() constructAndrew Stitcher2015-09-041-6/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1701302 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6717: Change Selector beaviour and tests to accord with consensus semanticsAndrew Stitcher2015-09-044-12/+69
| | | | | | | - It seems to be the consensus amongst JMS Selector implementations that the NOT IN expression should return false if none of the types match git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1701301 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6718: Small fixes to compile on slightly older versions of G++ and ↵Andrew Stitcher2015-09-033-4/+15
| | | | | | Visual Studio git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1701130 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5855 - Simplified HA transaction logic.Alan Conway2015-09-0325-1368/+36
| | | | | | | | | | | | | | | | | | | | | | | Removed complex and incorrect HA+TX logic, reverted to the following limitation: You can use transactions in a HA cluster, but there are limitations on the transactional guarantees. Transactions function normally with the *primary* broker but replication to the backups is not coverted by the atomic guarantee. The following situations are all safe: - Client rolls back a transaction. - Client successfully commits a transaction. - Primary fails during a transaction *before* the client sends a commit. - Transaction contains only one message. The problem case is when all of the following occur: - transaction contains multiple actions (enqueues or dequeues) - primary fails between client sending commit and receiving commit-complete. In this case it is possible that only part of the transaction was replicated to the backups, so on fail-over partial transaction results may be visible. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1701109 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6718: Complete parsing for all styles of numeric literalsAndrew Stitcher2015-09-023-13/+149
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1700915 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6717: Fix issue with BETWEEN comparisons when types don't matchAndrew Stitcher2015-09-021-5/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1700869 13f79535-47bb-0310-9956-ffa450edef68
* Revert "QPID-6717: fix evaluation of BETWEEN and NOT IN when types are ↵Andrew Stitcher2015-09-021-2/+1
| | | | | | | | | | mismatched" This reverts commit 85ed093ba4beae54c1622000cb7a38cb30889239. - This change broke handling of the IN construct. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1700868 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6717: Unit tests to demonstrate the issue (or not!)Andrew Stitcher2015-09-021-0/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1700867 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove unused functionAndrew Stitcher2015-09-021-4/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1700866 13f79535-47bb-0310-9956-ffa450edef68