summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
Commit message (Collapse)AuthorAgeFilesLines
...
* QPID-6415: Core dump in ha_tests and interlink_tests with proton 0.9Alan Conway2015-02-261-1/+1
| | | | | | With proton 0.9 you need call pn_connectin_free before pn_transport_free. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1662509 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6414: Skip HA tests if qpid-ha or qpid-config tools are not available.Alan Conway2015-02-253-14/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1662275 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6413: Sporadic failure of HA tests causd by maxNegotiateTimeoutAlan Conway2015-02-252-15/+18
| | | | | | | | | | | | | | | | | | | | Increased maxNegotiateTimeout to the default (10 seconds). A smaller value speeds up detection of non-running brokers on remote hosts, but this is not necessary for the tests. Increased some other test timeouts and added some improved error reporting. The occasional long (> 1 second) connection delays are caused by Cyrus SASL authentication. Not clear why this takes so long, but that is a separate issue. Here's a client log excerpt showing the delay. 2015-02-25 08:29:37.461299895 [Network] trace RECV [[127.0.0.1:34247-127.0.0.1:45983]]: Frame[BEbe; channel=0; {ConnectionStartBody: server-properties={qpid.federation_tag:V2:36:str16(77800bff-a176-46c1-917a-32f136dee650)}; mechanisms=str16{V2:9:str16(ANONYMOUS), V2:5:str16(PLAIN)}; locales=str16{V2:5:str16(en_US)}; }] 2015-02-25 08:29:37.463116303 [Security] debug CyrusSasl::start(ANONYMOUS PLAIN) (Note delay > 1 sec here) 2015-02-25 08:29:38.839793753 [Security] debug min_ssf: 0, max_ssf: 256 2015-02-25 08:29:38.839851781 [Security] debug CyrusSasl::start(ANONYMOUS PLAIN): selected ANONYMOUS response: 'anonymous@wallace' 2015-02-25 08:29:38.839963162 [Client] warning Connection [127.0.0.1:34247-127.0.0.1:45983] closed git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1662247 13f79535-47bb-0310-9956-ffa450edef68
* Fix up/remove pasted comments re Linux per Andrew's review comments in ↵Stephen D. Huston2015-02-241-4/+0
| | | | | | review for QPID-6312 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1662025 13f79535-47bb-0310-9956-ffa450edef68
* Don't take the address of a 0-length vector. Fixes QPID-6409.Stephen D. Huston2015-02-241-5/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1661830 13f79535-47bb-0310-9956-ffa450edef68
* Replace non-Apache licensed CheckSizeTNativeType.cmake with ASF-licensed and ↵Stephen D. Huston2015-02-223-4/+4
| | | | | | more correct for our needs, CheckSizetDistinct.cmake. Resolves QPID-6312. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1661450 13f79535-47bb-0310-9956-ffa450edef68
* Add missing AIX-needed SystemInfo.cpp source; relates to QPID-6312, 0003 ↵Stephen D. Huston2015-02-221-0/+205
| | | | | | attachment git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1661449 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6389: ensure source/target is null when responding to attach requests ↵Gordon Sim2015-02-181-0/+2
| | | | | | in which they are also null git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1660763 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6394 [linearstore] Make linearstore the default store for linux builds ↵Kim van der Riet2015-02-182-2/+2
| | | | | | - Fixed incorrect status messages git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1660702 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6394 Make linearstore the default store for linux buildsKim van der Riet2015-02-172-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1660430 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6347: Remove the now obsolete queue_event_generation option; this is a ↵Justin Ross2015-02-112-29/+0
| | | | | | patch from Irina Boverman git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1659063 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - refer to OutgoingMessage as 'class' not 'struct' to match its ↵Stephen D. Huston2015-02-101-1/+1
| | | | | | actual definition. Fixes VC12 compile warning. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1658755 13f79535-47bb-0310-9956-ffa450edef68
* NON_JIRA: remove over-cautious assertionGordon Sim2015-02-091-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1658582 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6324: refine previous fix such that no explicit reliability setting on ↵Gordon Sim2015-02-091-2/+2
| | | | | | durable subscription results in timeout by default git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1658581 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - fix compile warning 4250 "inheritance by dominance" on Windows ↵Stephen D. Huston2015-02-061-0/+11
| | | | | | Visual Studio 2013. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1657976 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5538: patch to work with older version of proton (0.7)Ken Giusti2015-02-062-4/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1657964 13f79535-47bb-0310-9956-ffa450edef68
* Fix operator bool() to work with Visual Studio 2013Stephen D. Huston2015-02-061-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1657914 13f79535-47bb-0310-9956-ffa450edef68
* Apply patches for QPID-6312 to get Qpid building on AIX with XL C++ 13.1Stephen D. Huston2015-02-0420-29/+50
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1657338 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6358: detect detached session on fetchGordon Sim2015-02-042-11/+17
| | | | | | The previous solution may on occasion cause an early return in the case where one of many other receivers is closed while in fetch. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1657321 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6358: detect detached session on fetchGordon Sim2015-02-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1656928 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5538: Implement AMQP 1.0 connection idle-timeout.Ken Giusti2015-02-029-34/+290
| | | | | | Original patch by Gordon Sim. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1656505 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5842: Allow SSL hostname verification to be disabled on windows client. ↵Clifford Jansen2015-01-294-2/+16
| | | | | | Windows related changes for QPID-5841 and https://reviews.apache.org/r/22890 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1655837 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6310: handle maximal rangeGordon Sim2015-01-231-2/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1654365 13f79535-47bb-0310-9956-ffa450edef68
* txshift: switch to uint for workersDarryl L. Pierce2015-01-211-2/+2
| | | | | | | | | | | | | workaround missing size_t implementation of po::value_semantic* create_value(T& val, const std::string& arg) as it would conflict with when size_t == unsigned int even when it would help for size_t == unsigned long fixes https://issues.apache.org/jira/browse/QPID-6135 Contributed by Dan Horaz <dan@danny.cz> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1653631 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6329: slightly more forgiving equivalence check on fieldvalues in ↵Gordon Sim2015-01-212-2/+23
| | | | | | assertions on 0-10 path git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1653548 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6325: further improve 0-10 connection handling logicGordon Sim2015-01-212-8/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1653547 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6325: improve 0-10 connection handling logicGordon Sim2015-01-202-4/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1653216 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6324: fix when default timeout appliesGordon Sim2015-01-191-5/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1653009 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5597: honour explicit auto-delete when True (as well as when False)Gordon Sim2015-01-191-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1653008 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6323: align default timeout behaviour with 0-10 codepathGordon Sim2015-01-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1653007 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6322: avoid setting qpid.auto_delete_timeout unnecessarilyGordon Sim2015-01-191-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1653006 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6321: handle change to pn_delivery_tag_t in 0.9Gordon Sim2015-01-197-2/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1653005 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6303 [linearstore] Roll back auto-upgrade of store directory structureKim van der Riet2015-01-166-63/+46
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1652486 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6310: check validity of ranges when decoding sequence setGordon Sim2015-01-131-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1651321 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6310: handle case where content bearing method is not in fact a ↵Gordon Sim2015-01-131-0/+3
| | | | | | message-transfer, which is the only one currently supported by qpidd git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1651320 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6310 ensure session is attached even for unsupported controlsGordon Sim2015-01-131-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1651319 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: ensure MapMessage is fully defined when usedGordon Sim2015-01-121-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1651158 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6298: [C++ Messaging] Closing sender/receiver frees proton link.Charles E. Rolke2015-01-082-2/+2
| | | | | | | | Tested with proton 0.9, 0.7, and 0.6. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1650389 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6299: add files missed out from last commitGordon Sim2015-01-082-0/+70
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1650259 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6299: allow ring and lvq behaviours to be combinedGordon Sim2015-01-074-4/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1650196 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: [linearstore] Update of ISSUES fileKim van der Riet2015-01-021-9/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1649082 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5671 [linearstore] Add ability to use disk partitions and select ↵Kim van der Riet2015-01-0211-143/+178
| | | | | | per-queue EFPs: WIP, but mostly complete. Needs additional testing. It is now possible to add queues which use a partition other than the broker default by using qpid-config --durable together with --efp--partition-num and/or --efp-pool-file-size git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1649081 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6278: HA broker abort in TXN soak testAlan Conway2014-12-192-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The crash appears to be a race condition in async completion exposed by the HA TX code code as follows: 1. Message received and placed on tx-replication queue, completion delayed till backups ack. Completion count goes up for each backup then down as each backup acks. 2. Prepare received, message placed on primary's local persistent queue. Completion count goes up one then down one for local store completion (null store in this case). The race is something like this: - last backup ack arrives (on backup IO thread) and drops completion count to 0. - prepare arrives (on client thread) null store bumps count to 1 and immediately drops to 0. - both threads try to invoke the completion callback, one deletes it while the other is still invoking. The old completion logic assumed that only one thread can see the atomic counter go to 0. It does not handle the count going to 0 in one thread and concurrently being increased and decreased back to 0 in another. This case is introduced by HA transactions because the same message is put onto a tx-replication queue and then put again onto another persistent local queue, so there are two cycles of completion. The new logic fixes this only one call to completion callback is possible in all cases. Also fixed missing lock in ha/Primary.cpp. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1646618 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6255: Use Proton event model in qpidd when available.Ken Giusti2014-12-175-91/+225
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1646354 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6275: reduce default autodelete timeout for durable subscriptionsGordon Sim2014-12-172-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1646261 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6274: Delete subscription queue immediately on link closeGordon Sim2014-12-179-24/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1646260 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6167: ensure broker responds with a header for an enabled protocolGordon Sim2014-12-176-5/+36
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1646258 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6269: trigger autodelete timer on queue recoveryGordon Sim2014-12-171-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1646257 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6267: honour policy timeout even if it is 0Gordon Sim2014-12-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1646256 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5003: Use correct property for delayed auto-delete. Explicit 0 timeout ↵Gordon Sim2014-12-171-3/+4
| | | | | | should override default. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1646255 13f79535-47bb-0310-9956-ffa450edef68