summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* NO-JIRA: update links to reflect new ASF repo locations following migration ↵HEADtrunkRobert Gemmell2018-12-141-10/+10
| | | | | | to gitbox git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1848931 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: add a readme directing people to the various component repositoriesRobert Gemmell2018-01-241-0/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1822098 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: remove stale CI service configs, components have moved to their own ↵Robert Gemmell2018-01-242-42/+0
| | | | | | repos git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1822097 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7446 : Allow the QMF2 plugin to compile against the 6.0.x java codebaseRobert Godfrey2016-10-049-10/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1763292 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7207: remove cpp and python subdirs from svn trunk, they have migrated ↵Robert Gemmell2016-07-052098-375605/+0
| | | | | | to their own git repositories git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1751566 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7329: Merge branch 'github/pr/10' into trunkGordon Sim2016-06-284-1/+37
| | | | | | Closes #10 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1750587 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7326: Memory bloat on HA primary brokerAlan Conway2016-06-273-13/+0
| | | | | | Removed left-over code that was keeping queues in an unused map. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1750417 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7306: fix regression in earlier commitGordon Sim2016-06-271-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1750390 13f79535-47bb-0310-9956-ffa450edef68
* feat(disposition): support undeliverable-here in modified outcomesGordon Sim2016-06-272-7/+50
| | | | | | | | | | Previously, specifying `undeliverable-here` as `true` in a modified outcome simply resulted in the message being rejected. This patch adds tracking to the outgoing link management in order to not redeliver messages to links that indicate that messages are not deliverable there. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1750369 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7306: fix compilation error in previous commitGordon Sim2016-06-241-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1750123 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7306: Fix race conditions during Queue destruction.Alan Conway2016-06-229-16/+76
| | | | | | | | | | | | | | | | | | | | | | | Stack traces indicate a Queue was being destroyed concurrently while still in use by its ManagedObject. ManagedObject holds a plain pointer to the Manageable object (e.g. Queue) it belongs to. The Manageable calls ManagedObject::resourceDestroy() when it is deleted, but without any locking. Added a locked wrapper class ManageablePtr so destroy is atomic with respect to other calls via ManageablePtr, calls after pointer is reset to 0 in destroy() are skipped. Call resourceDestroy() in Queue::~Queue if it was not called already. This is probably redundant given given the fixes above but can't hurt. Queue::destroyed() was also being called without locking and could be called concurrrently, e.g. if auto-delete happens concurrently with delete via QMF or by a 0-10 client. Moved the destroyed() call into QueueRegistry::destroy(), using QueueRegistry lock to guarantee it is called exactly once. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1749782 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7306: Conditional compile mismatch in broker and common libs.Alan Conway2016-06-229-28/+6
| | | | | | | | | | | | | | | | | | | Removed _IN_QPID_BROKER compile definition: Inconsistently set for libqpidcommon (compiled .cpp files) and libqpidbroker (uses .h) files - The broker has a binary incompatible notion of what is in the library. It sort-of works by accident: - shared_ptr<T> only contains a T*, the mismatch is effectively doing reinterpret_cast<T*> - plain T* works for op->, but doesn't guarantee no concurrent deletes. - we create and destroy shared_ptr in libraries with _IN_QPID_BROKER set so we get cleanup, and no cores if we're lucky but there is limited protection from races. Was only used by management: - I think exposing non-shared ptr GetObject was a feature that never materialized, - if not we need a separate function or class for non-shared-ptr users. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1749781 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7306: Memory management error in Link/BridgeAlan Conway2016-06-224-11/+43
| | | | | | | | | | | | | | qpid::broker Link and Bridge use Connection::requestIOProcessing() to register callbacks in the connection thread. They were binding a plain "this" pointer to the callback, but the classes are managed by boost::shared_ptr so if all the shared_ptr were released, the callback could happen on a dangling pointer. This fix uses boost::weak_ptr in the callbacks, so if all shared_ptr instances are released, we don't use the dead pointer. Link::destroy cannot be skipped, so use a shared_ptr for that. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1749780 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7302: Restart delayed auto-delete timer if the queue is declaredGordon Sim2016-06-154-29/+62
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1748523 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7281: Various fixes for the tests on windowsJustin Ross2016-06-015-23/+91
| | | | | | | | | | - Adjust environment script for windows paths - Pythonify the test runner for the windows store tests - Run the HA tests only on posix systems - Remove a finicky assertion in brokertest.py git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1746375 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7281: Prevent shlex.split from removing backslashesJustin Ross2016-05-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1745659 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7281: Relocate the find_package invocation for python; use the ↵Justin Ross2016-05-263-2/+3
| | | | | | resulting config to run the test-time dependency check git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1745657 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4397: log more detail for expired messages when debug enabledGordon Sim2016-05-258-6/+107
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1745448 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7234: check handler is not null (as it will be when releasing unused ↵Gordon Sim2016-05-232-1/+22
| | | | | | prefetch on close) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1745195 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7258: [Python Client for AMQP 0-8...0-9-1] Remove superfluous import ↵Lorenz Quack2016-05-131-1/+1
| | | | | | (review comment from @kwall) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1743615 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7259: delay adding transfers to completed set until we have verified ↵Gordon Sim2016-05-121-1/+4
| | | | | | queue is empty git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1743491 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7207: Make call_for_output Python 2.6 compatibleJustin Ross2016-05-111-3/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1743410 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7258: Python Client for AMQP 0-8...0-9-1] PerformLorenz Quack2016-05-112-35/+81
| | | | | | | | | | hostname verification of tls connections * hostname verification is performed by default. * introduce connection_option "ssl_skip_hostname_check" to disable this feature * hostname verification will throw an ImportError on Python <2.6 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1743379 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7251: [Python Client] fix explicit setting of mechanism and/or response ↵Lorenz Quack2016-05-101-15/+24
| | | | | | on AMQP 0-8 and 0-9 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1743168 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7207: Found another variant of this leakJustin Ross2016-05-031-4/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1742115 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7250: check that message can fit in a page before writing to diskGordon Sim2016-05-024-5/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1742020 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7207: Account for another variant of the createQueue leakJustin Ross2016-05-011-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1741907 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7240: use protper cursor type when purging priority levelsGordon Sim2016-04-292-1/+41
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1741635 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7207: Remove a duplicate suppression and expand the applicability of ↵Justin Ross2016-04-291-11/+2
| | | | | | another git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1741620 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7207: Even more liberal suppressionsJustin Ross2016-04-291-12/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1741546 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7207: Keep going if CERTUTIL is not setJustin Ross2016-04-281-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1741540 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7207: More valgrind suppressionsJustin Ross2016-04-281-0/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1741518 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7234: add testGordon Sim2016-04-281-0/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1741505 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7236: set action and object in acl rule even when actionAll is trueGordon Sim2016-04-281-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1741495 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7235: add virtual destructor to Observers to ensure cleanup if subclassedGordon Sim2016-04-281-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1741494 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: increase the auto-delete timeout to ensure that it never fires even ↵Gordon Sim2016-04-281-5/+5
| | | | | | when running under valgrind git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1741493 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7233: limit capacity to messages only if message count is non-zeroGordon Sim2016-04-281-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1741492 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7234: allow proper credit processing to happen even for expired messagesGordon Sim2016-04-285-6/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1741491 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7207: Remove match-leak-kinds from suppressions; it's supported only in ↵Justin Ross2016-04-281-5/+0
| | | | | | newer valgrinds git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1741480 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7207: Make the provisional suppressions even more permissiveJustin Ross2016-04-271-8/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1741344 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7207: Add a missing importJustin Ross2016-04-271-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1741272 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7207: Skip some tests when the swigged python client is not availableJustin Ross2016-04-272-19/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1741266 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7207: Make the suppressions general wrt starting as a thread or the ↵Justin Ross2016-04-271-7/+0
| | | | | | main process git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1741254 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7207: Add provisional valgrind suppressionsJustin Ross2016-04-262-0/+74
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1741123 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7207: Make the test-time dependency check script executableJustin Ross2016-04-261-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1741093 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7207: Work around a cmake bugJustin Ross2016-04-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1741092 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7207: Make env.sh compatible with -e scriptsJustin Ross2016-04-261-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1741046 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7207: Use Python 2.6 compatible string formatsJustin Ross2016-04-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1741013 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7207: Explicitly set the Python build lib dirJustin Ross2016-04-211-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1740431 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7207: Avoid use of Popen with shell=True; on some platforms it prevents ↵Justin Ross2016-04-211-14/+17
| | | | | | process termination git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1740427 13f79535-47bb-0310-9956-ffa450edef68