summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
Commit message (Collapse)AuthorAgeFilesLines
...
* QPID-5845: topic policy's auto delete delay should not be overridden by link ↵Gordon Sim2014-06-251-2/+5
| | | | | | specific timeout git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1605320 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5841: allow SSL hostname verification failure to be ignored (with NSS)Gordon Sim2014-06-248-2/+43
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1605127 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5839: [C++ broker] Broker does not set lifetime-policy in AMQP1.0 ↵Pavel Moravec2014-06-241-1/+1
| | | | | | attach performative git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1605051 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5828: Drop expired incoming messagesGordon Sim2014-06-236-7/+51
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1604953 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5828: Check and adjust ttl on resend attemptGordon Sim2014-06-235-10/+60
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1604952 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5828: Ensure that we don't try to check status of null completion handleGordon Sim2014-06-231-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1604785 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5835: [C++ broker] Broker recovery forgets auto-delete flag on queues ↵Pavel Moravec2014-06-212-10/+28
| | | | | | and exchanges git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1604455 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5807: Fix inconsistent DLL linkageAndrew Stitcher2014-06-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1603661 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix some MSVC warningsAndrew Stitcher2014-06-184-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1603660 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5829: Rearrange CMake - repair original commit that breaks the .NET bindingCharles E. Rolke2014-06-181-3/+0
| | | | | | r1603064 fails to define some CMake version variables before using them for template processing. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1603587 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5817: [C++ broker] Improve ACL authorisation of QMF methods and queriesPavel Moravec2014-06-188-45/+312
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1603364 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5829: Rearrange CMake files to centralise some flagsAndrew Stitcher2014-06-173-98/+2
| | | | | | | | - This means they can be used in the bindings. - It also means that individual modules do not have to specify to catch undefined symbols as this is the default beahviour now. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1603064 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5814: default to utf8 in Variant::parse()Gordon Sim2014-06-131-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1602390 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3921: Don't leak use qpid/Options.h header unnecessarily.Andrew Stitcher2014-06-127-8/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1602305 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: We never want to accidentally convert a string to an Options objectAndrew Stitcher2014-06-121-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1602304 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Removed obsolete/unused store codeAndrew Stitcher2014-06-124-6/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1602303 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5807: Remove boost::program_options as a header file dependency of ↵Andrew Stitcher2014-06-1113-88/+225
| | | | | | | | | qpid/Options.h - The intent here is to remove the necessity for things using qpid::Options to need to link boost::program_options directly. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1602021 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3650: Avoid unaligned memory accessAndrew Stitcher2014-06-112-4/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1601969 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3650: Avoid unaligned memory accessAndrew Stitcher2014-06-101-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1601779 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5805: Disallow % and _ characters as escapes in selector LIKE expressionAndrew Stitcher2014-06-092-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1601373 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5804: Fix broken selector parsing of unary '+'Andrew Stitcher2014-06-092-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1601372 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5788: delayed initiation of nssGordon Sim2014-06-041-13/+34
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1600188 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5793: prevent leak due to concurrent bind and deleteGordon Sim2014-06-031-3/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1599766 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5793: prevent deadlock between timer and consumeGordon Sim2014-06-031-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1599765 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5767: [linearstore] broker segfaults when recovering journal file with ↵Kim van der Riet2014-06-027-21/+27
| | | | | | damaged header git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1599243 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5783: Share immutable state EXTERNCharles E. Rolke2014-06-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1598944 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5748: [C++ broker] Make Queue::purgeExpired more efficient; remove ↵Pavel Moravec2014-05-2822-163/+39
| | | | | | ExpiryPolicy git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1597931 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5783: Share immutable state between copies of a message. Avoid using ↵Gordon Sim2014-05-2312-96/+205
| | | | | | memory for annotations unless actually required. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1597121 13f79535-47bb-0310-9956-ffa450edef68
* NO_JIRA: [linearstore] Update to ISSUES; whitespace fix from last checkinKim van der Riet2014-05-212-7/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596633 13f79535-47bb-0310-9956-ffa450edef68
* no JIRA: [C++ broker] have more descriptive error on parse error of SASL ↵Pavel Moravec2014-05-211-1/+1
| | | | | | config file git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596565 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5767: [C++ broker][linearstore] broker segfaults when recovering ↵Pavel Moravec2014-05-216-11/+27
| | | | | | journal file with damaged header (Kim's patch) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596509 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5765: don't invoke on dangling pointerGordon Sim2014-05-146-14/+6
| | | | | | | | | Strictly speaking comparing anything against the old pointer isn't correct either, but this is harder to change and the only negative effect is that in the event that a new connection has the same pointer value, it would be incorrectly interpreted as 'local'. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1594633 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5747: create codec for outgoing connections on establishing the ↵Gordon Sim2014-05-132-12/+18
| | | | | | connection, so that any disconnect before we try to write can still be communicated to upper layers git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1594277 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5758: Move purging of expired messages from timer thread to worker threadGordon Sim2014-05-134-21/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1594220 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5750: [linearstore] Broker fails with JERR__AIO: AIO error. (AIO write ↵Kim van der Riet2014-05-1311-25/+142
| | | | | | operation failed: Invalid argument (-22) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1594215 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: HA fix hanging ha_tests.test_failover_send_receive on RHEL5Alan Conway2014-05-012-30/+28
| | | | | | | | | | | | | The test was hanging because of a python construct not available in 2.4. It was causing an exception in a strange place because this bit of code was imported at runtime, and that was hanging the test. Fixed and did some cleanup to avoid such mysterious hangs in future: - Fixed qpidtoollibs/config.py to work with python 2.4. - Import qpid-ha script at import time rather than runtime. - Fix Popen.teardown logic to avoid hanging if a process can't be killed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1591794 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5741: No longer warn when building Qpid with Proton 0.7Andrew Stitcher2014-05-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1591781 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5737: wakeup driver for output which may be necessary if sessions ↵Gordon Sim2014-04-301-0/+2
| | | | | | outgoing window has been moved forward by peer git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1591470 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5736: only block until sent message is settled; signal rejection by ↵Gordon Sim2014-04-302-1/+6
| | | | | | throwing exception git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1591300 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5735: Correct calculation of amqp.redeliveredAndrew Stitcher2014-04-301-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1591183 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5489: Change uuid detection code to the code that proton usesAndrew Stitcher2014-04-291-22/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1590979 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5489: More cleaning up of the Uuid codeAndrew Stitcher2014-04-2910-69/+126
| | | | | | | | - Rewrite the Uuid iosteam extractor and insertor operators to not require any underlying uuid library. - Create a specific uuid implementation for FreeBSD git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1590978 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5729: handle concurrent triggering of topic policyGordon Sim2014-04-283-1/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1590805 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5725: Use correct comparison function to match property keysAndrew Michael Stitcher2014-04-272-1/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1590505 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: HA minor cleanup of qpid-ha toolAlan Conway2014-04-242-57/+0
| | | | | | | | | | - Remove some dead code. - Removed "set" command - not ready for production. All settings in qpidd.conf. - Removed related tests in ha_tests - Improved help on promote command. - Made option group for common broker connection options. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1589834 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5719: HA becomes unresponsive once any of the brokers are SIGSTOPedAlan Conway2014-04-242-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | - Added timeout to qpid-ha. - qpidd init script pings broker to verify it is not hung. - updated documentation in qpid/doc/book/src/cpp-broker/Active-Passive-Cluster.xml. The new results for the cases mentioned in the bug: a] stopped ALL brokers: rgmanager restarts the entire cluster but data is lost. Equivalent to killing all the brokers at once. This does not affect quorum because only qpidd services are affected, not other services managed by cman. b] stopped the primary: rgmanager restarts the primary after a timeout and promotes one of the backups. c] stopped a backup: rgmanager restarts the backups after a timeout. Clients that are actively sending messages may see a delay while backup is restarted. Note you need to set link-heartbeat-interval in qpidd.conf. The default is very high (120 seconds), it should be set lower to see recovery from sigstop in a reasonable time. See the updated documentation in qpid/doc/book/src/cpp-broker/Active-Passive-Cluster.xml. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1589807 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5714: In ha_tests, skip if the target test code is missingJustin Ross2014-04-241-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1589760 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5720: HA exception raised by the store for durable transactionsAlan Conway2014-04-233-8/+10
| | | | | | | | | | | | | | | Running qpid-txtest against a HA cluster was raising this exception: async_dequeue() failed: jexception 0x0b02 wmgr::dequeue_check() threw JERR_MAP_LOCKED: Record ID locked by a pending transaction. This is actually a test bug. In a cluster a transaction commit takes longer to complete because of co-ordinating with backups, the test was not waiting for the completion of commit command before proceeding. Adding a sync() in the test solves the problem. Note this test uses the old obsolete C++ API. Applications written using the supported messaging API are not affected by this. This can be verified using the qpid-send and qpid-receive clients with the --tx option (there is already an automated test for this in ha_tests.py.) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1589520 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5718: Dead code in the HA codebaseAlan Conway2014-04-231-15/+0
| | | | | | | Removed: std::ostream& operator<<(std::ostream& o, const QueueSetPrinter& qp) Already gone: void collectQueueReplicators(const boost::shared_ptr<Exchange>& ex, set<boost::shared_ptr<QueueReplicator> >& collect) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1589431 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5663: [C++ Messaging] Windows AMQP 1.0 map_receiver failsCharles E. Rolke2014-04-221-1/+2
| | | | | | Updated patch from Gordon Sim. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1589222 13f79535-47bb-0310-9956-ffa450edef68