summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
Commit message (Collapse)AuthorAgeFilesLines
...
* QPID-3603 add new file to CMakeListsCharles E. Rolke2012-06-111-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1348712 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4022 C++ Broker connection limits by host ip and by user name.Charles E. Rolke2012-06-1115-163/+254
| | | | | | | | | | | Rework the strategy to deny connections based on configured limits. All limits checked in one function from points in broker when the user's authenticated name is known. Denied connections receive the AMQP exception instead of getting the socket closed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1348707 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4048 - Rafactor of TopicExchange to isolate the binding-key data structure.Ted Ross2012-06-085-473/+408
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1348233 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Fix race condition causing sporadic crash in ↵Alan Conway2012-06-084-5/+17
| | | | | | | | | BrokerReplicator::initializeBridge The BrokerReplicator was being deleted before all outstanding initializeBridge calls had been processed by the IO thread. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1348115 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Add ConfigurationObserver.Alan Conway2012-06-0810-29/+230
| | | | | | | Allows plugins to observe configuration events queue create/destroy, exchange create/destroy and bind/unbind. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1348114 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA primary sends membership updates to backup brokers.Alan Conway2012-06-0815-62/+353
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1348113 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4046: rate limit the release of dequeued messages.Kenneth Anthony Giusti2012-06-081-8/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1348090 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4040 - Close federation links after lost heartbeats.Ted Ross2012-06-065-3/+61
| | | | | | | Applied patch from Andy Goldstein. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1347044 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4043 - Remove usage of deprecated definitions from Corosync.Ted Ross2012-06-063-32/+55
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1346951 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4041: move check for transport after setting value.Kenneth Anthony Giusti2012-06-051-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1346462 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4032 Broker ACL does not accept sub-groups in group declarationCharles E. Rolke2012-06-012-4/+52
| | | | | | | | | | | | Patch from Paul Colby and new self test demonstrating the fix. Note that this patch broke the user_realm self test. That is, a naked name like 'bob' has changed from being a username missing a domain to being a group name. The self test used to fail and still fails but now for a different reason. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1345190 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4031: fix deadlock by moving timer cancel outside of scoped lock.Kenneth Anthony Giusti2012-05-311-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1344734 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA Fix signed/unsigned warnings on RHEL 5 w/ Boost 1.33.1Stephen D. Huston2012-05-301-22/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1344458 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Fix deadlock in ReplicatingSubscription causing primary to hang ↵Alan Conway2012-05-291-9/+27
| | | | | | sporadically git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1343762 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Removed isSelf check in Backup, was returning false positives.Alan Conway2012-05-291-0/+3
| | | | | | To be restored once the problem is fixed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1343710 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Add timerTask->cancel to ~AsynchIOHandler.Alan Conway2012-05-281-0/+2
| | | | | | | Observed crashes where timer fires after AsynchIOHandler is deleted. This should prevent such crashes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1343397 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Better log messages for HA code.Alan Conway2012-05-2810-68/+97
| | | | | | Identify host name of backup in ReplicatingSubscription logs. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1343351 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Failover optimization restored.Alan Conway2012-05-283-91/+198
| | | | | | | | | A backup broker that fails over to a new primary can avoid downloading messages that it already has from the previous primary. The backup sends its position to the primary as a client-arg and the primary sends back any necessary dequeues and starts replicating after the messages on the backup. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1343350 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA brokers avoid self-connection.Alan Conway2012-05-283-7/+14
| | | | | | | | HA brokers attempt to avoid self-connection using SystemInfo::isLocalHost(). If a VIP is used then this check won't work. Brokers now check the system-id UUID on incoming connections and reject the connection if it is their own. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1343349 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Close replication link when a backup broker is promoted to primary.Alan Conway2012-05-282-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1343348 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Allow Queue::setPosition() to truncate the queue.Alan Conway2012-05-2812-92/+310
| | | | | | | | | | | | In the new HA code a backup may sometimes be ahead of the new primary after a fail-over. In that case the backup truncates it's queues to the same position as the primary so it can continue replicating. (Note the assertions added to verify setPosition showed up a minor bug in the old cluster code, which was leaving messages on the cluster update queue after an update. This patch fixes the issue.) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1343347 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: eliminate dead code and potential null pointer dereference as found ↵Kenneth Anthony Giusti2012-05-251-23/+19
| | | | | | by Coverity git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1342759 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: fix some defects found by Coverity static analysis scan of C++ codeKenneth Anthony Giusti2012-05-2510-12/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1342742 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3767: add additional test case for link sharing.Kenneth Anthony Giusti2012-05-241-0/+113
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1342442 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Rearrange memory status codeAndrew Stitcher2012-05-243-5/+15
| | | | | | Currently only Linux has a useful implementation and everyone else uses a null implementation. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1342137 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Rearrange CMake a bit to improve the chances of compiling on ↵Andrew Stitcher2012-05-241-9/+12
| | | | | | non-Linux Unix git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1342136 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove final vestiges of non-portable alloca().Andrew Stitcher2012-05-243-11/+9
| | | | | | Fixed unit_test changes to avoid incorrect array initialisation. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1342135 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3004: Keep the code compatible with clang C++ compiler (and probably ↵Andrew Stitcher2012-05-225-21/+17
| | | | | | | | | | | gcc 4.7 too) Fix up intrusive_ptr_add_ref(RefCounted*)/intrusive_ptr_release(RefCounted*) so they are now found by argument dependent lookup. Trivial: Added missing newline at end of file git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1341608 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Renamed brokers and public-brokers to brokers-url and public-url ↵Alan Conway2012-05-224-37/+37
| | | | | | for clarity. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1341581 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA backups pass identifying info to primary.Alan Conway2012-05-2213-28/+207
| | | | | | Pass hostname, management UUID and status in link connection arguments. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1341580 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2518: Qpid C++ broker can easily be blocked by client trying to connect ↵Andrew Stitcher2012-05-214-15/+61
| | | | | | | | over SSL port Implement timed disconnect for SSL git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1341263 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2518: Qpid C++ broker can easily be blocked by client trying to connect ↵Andrew Stitcher2012-05-216-16/+75
| | | | | | | | over SSL port Implement timed disconnect for TCP and for SSL/TCP mux git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1341262 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Implement abort for ssl connectionsAndrew Stitcher2012-05-213-2/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1341261 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4011: TestIsLocalHost unit_test fails with if machine name resolves to ↵Andrew Stitcher2012-05-211-1/+1
| | | | | | | | loopback address Oops - ntohl() can be a macro so specifying ::ntohl() can fail in optimised builds. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1341246 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4013: Windows Broker SSL is more difficult to use than necessary and ↵Andrew Stitcher2012-05-211-4/+23
| | | | | | possibly less secure than possible git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1341229 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4011: TestIsLocalHost unit_test fails with if machine name resolves to ↵Andrew Stitcher2012-05-182-11/+30
| | | | | | | | loopback address QPID-3404 - This change also adds support for IPv6 interface addresses to getLocalIpAddresses git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1340279 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4005: Eliminate "using" especially "using namespace" from header fileAndrew Stitcher2012-05-182-20/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1340278 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4005: Eliminate "using" especially "using namespace" from header fileAndrew Stitcher2012-05-184-46/+58
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1340277 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4005: Eliminate "using" especially "using namespace" from header fileAndrew Stitcher2012-05-183-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1340276 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4008: added check for INVALID_SOCKET similar to Linux implementationClifford Allan Jansen2012-05-171-7/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339927 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA failover test, increase timeout to avoid false failures.Alan Conway2012-05-171-4/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339757 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4005: Eliminate "using" especially "using namespace" from header fileAndrew Stitcher2012-05-171-0/+2
| | | | | | - Fix windows breakage git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339696 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4005: Eliminate "using" especially "using namespace" from header fileAndrew Stitcher2012-05-1629-29/+59
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339403 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Removed unused FileAndrew Stitcher2012-05-162-71/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339359 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4004: Cruft in qpid::framing::Buffer class should be removedAndrew Stitcher2012-05-165-26/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339358 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA don't replicate excluseive, auto-delete, non-timeout queues.Alan Conway2012-05-163-15/+53
| | | | | | | | | Such queues don't need to be replicated because they are destroyed when as the owning session disconnects, so won't survive a failover. This eliminsates managment subscriptio queues from replication. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339268 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603 HA broker backup/primary ready checks. Repair r1338889 for Windows.Charles E. Rolke2012-05-162-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339204 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA rename "promoting" to "recovering"Alan Conway2012-05-156-15/+15
| | | | | | Better term, a broker in failover recovers to become the primary, hence recovering. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338898 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA remove backup Replicator code to track unready queues.Alan Conway2012-05-159-64/+24
| | | | | | Tracking readiness will be done on the primary with qmf notification to backup. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338894 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Test fixes to ha_tests.pyAlan Conway2012-05-152-44/+46
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338893 13f79535-47bb-0310-9956-ffa450edef68