summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
Commit message (Collapse)AuthorAgeFilesLines
* NO-JIRA - Fixed a make-dist bug by adding a missing file.Ted Ross2012-10-241-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1401721 13f79535-47bb-0310-9956-ffa450edef68
* Bug:868364 - QPID-4391: HA ignore stale responses.Alan Conway2012-10-243-103/+135
| | | | | | | | | | | | | Related issue discovered while fixing this bug: The BrokerReplicater pulls management events and query responses from different queues, there is no co-ordination between them. If a response is processed late, after create and delete events, it will incorrectly re-create the deleted queue. This patch ignores responses if we have already seen an event for the queue or exchange. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1401711 13f79535-47bb-0310-9956-ffa450edef68
* Bug-869420 - QPID-4393: BrokerReplicator should call queue->bind, not ↵Alan Conway2012-10-241-1/+1
| | | | | | | | | | | | | exchange->bind In BrokerReplicator, there are a few places that it calls exchange->bind(). We're seeing some incorrect behavior during failover testing (e.g. an exchange shows that it has 5 bindings when there is really only 1) and we think we've narrowed it down to this. Instead of calling exchange->bind(), it should call queue->bind(). If you look at qpid::broker::Broker::createObject(), you'll see that this method calls queue->bind() to bind a queue to an exchange. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1401710 13f79535-47bb-0310-9956-ffa450edef68
* Bug 868364 - QPID-4391: HA replicating subscriptions should not auto-delete ↵Alan Conway2012-10-241-2/+2
| | | | | | | | | | | | | | | | queues When an auto-delete queue is replicated, the replicating subscription attempts to auto-delete the queue after it has already been auto-deleted by the closing of the last non-HA consumer. An issue occurs if a new auto-delete queue with the same name is created shortly after the deletion of the previously queue. This can occur when a client subscribes to an auto-delete queue and is temporarily disconnected from the broker. It is possible for the cancelled HA subscription to remove the newly created queue from the queue registry since the old and new queues use the same names. The HA replicating subscription should not execute the auto-delete logic when the subscription is cancelled. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1401709 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4272: Large amounts of code are duplicated between the SSL and TCP ↵Andrew Stitcher2012-10-2417-1063/+162
| | | | | | | | | | | | | | | transports Refactor SslMux support simplifying it and remove need for separate SslHandler and SslIo code. Refactored SSL client code to use the same connect and broker SSL to use the same accept sequences as the TCP code. This also solves QPID-3565: IPv6 support for SSL transport on Unix C++ client/broker Remove now unneeded ssl files. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1401561 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4272: Large amounts of code are duplicated between the SSL and TCP ↵Andrew Stitcher2012-10-2418-19/+84
| | | | | | | | transports Add the security related functions to the Socket/Asynch interfaces git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1401560 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4272: Large amounts of code are duplicated between the SSL and TCP ↵Andrew Stitcher2012-10-2426-266/+457
| | | | | | | | | | | | | transports Lift Socket into an interface with concrete implementations - BSDSocket, WinSocket and SslSocket - As a side effect completely change the approach we use for platform specific handles: IOHandle now directly carries the platform handle but its real type is only exposed to platform specific code. - Modified RDMA code for the new IOHandle approach git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1401559 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4272: Large amounts of code are duplicated between the SSL and TCP ↵Andrew Stitcher2012-10-2414-206/+153
| | | | | | | | | | | transports Refactor to unify the various SSL and TCP interfaces: - Make ssl listen have the same signature as regular sockets - Give ssl connect same interface as tcp - Unify the SSL and TCP IO interfaces some more git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1401558 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4368: Add some more missing export declarationsAndrew Stitcher2012-10-223-6/+7
| | | | | | - Also squash a struct/class warning git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1401072 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4386: Fixes a few Cmake errors WRT set_target_propertiesDarryl L. Pierce2012-10-221-4/+4
| | | | | | | | Variables used in arguments for set_target_properties need to be wrapped in double quotes. Otherwise when they are undefined Cmake thinks there are too few arguments present. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1400965 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Add files missed from EXTRA_DISTS from both the recent amqp 1.0 ↵Andrew Stitcher2012-10-221-1/+8
| | | | | | work and the recent cmake work git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1400948 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4368: Add missing export declarationsGordon Sim2012-10-223-53/+56
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1400880 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3633: Make cmake the primary build tool for the cpp treeAndrew Stitcher2012-10-221-2/+6
| | | | | | Now install most of the test executables git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1400783 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3633: Make cmake the primary build tool for the cpp treeAndrew Stitcher2012-10-223-18/+14
| | | | | | | | - Make the installed pkgconfig files have the correct paths embedded. - Use install variables that should be compatible with the variables set by rpmbuild's %cmake macro git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1400780 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: fix fluffed merge in r1400258Andrew Stitcher2012-10-221-4/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1400759 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4378 Deleting dynamic bridge. Delete warning message.Charles E. Rolke2012-10-211-1/+0
| | | | | | | | that is present when links are fine and bridge is unbound. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1400736 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4368: Compilation fixes for some platformsGordon Sim2012-10-194-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1400296 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4368: Fixes to autoconf build for AMQP 1.0 pluginsGordon Sim2012-10-191-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1400295 13f79535-47bb-0310-9956-ffa450edef68
* Bug 868360 - QPID-4379: HA does not properly handle expired messages.Alan Conway2012-10-191-0/+15
| | | | | | | The trunk is not affected by this bug, so this commit is just to add the regression test that proves it. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1400258 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4368: Added cmake fragment missed in last commitGordon Sim2012-10-191-0/+118
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1400199 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4368: Pluggable AMQP 1.0 implementation for broker and clientGordon Sim2012-10-1988-44/+10853
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1400178 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4368: Allow pluggable protocol implementationsGordon Sim2012-10-1916-40/+373
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1400177 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4368: Define SASL server role that is free from the AMQP 0-10 handshakeGordon Sim2012-10-198-6/+393
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1400176 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4368: Updated protocol version header handling to recognise 1.0 headersGordon Sim2012-10-192-8/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1400175 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4368: Add protocol description to connection schemaGordon Sim2012-10-191-1/+1
| | | | | | | Conflicts: qpid/cpp/src/qpid/broker/Connection.cpp git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1400174 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4368: Make security strength factor a property of the security layerGordon Sim2012-10-195-5/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1400173 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4368: Read any extra data available after protocol headerGordon Sim2012-10-192-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1400172 13f79535-47bb-0310-9956-ffa450edef68
* Fix recovering a zero-length message. Fixes QPID-3491.Stephen D. Huston2012-10-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1399838 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4378 C++ Broker deletes dynamin bridges too aggressively.Charles E. Rolke2012-10-181-2/+2
| | | | | | | | | Link state should not control bridge life cycle. Reviewed by Ted Ross. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1399837 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4373 r139931 Fix self test to use proper switch name.Charles E. Rolke2012-10-181-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1399828 13f79535-47bb-0310-9956-ffa450edef68
* Bug 867030 - QPID-4374: Make QueueGuard::cancel idempotent (Jason Dillaman)Alan Conway2012-10-182-13/+12
| | | | | | | Added QueueGuard::cancelled, only call cancel once. Don't enqueue after cancel. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1399814 13f79535-47bb-0310-9956-ffa450edef68
* Bug 867030 - QPID-4374: Use configurable credit window for HA backup ↵Alan Conway2012-10-185-20/+41
| | | | | | subscriptions (Jason Dillaman) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1399813 13f79535-47bb-0310-9956-ffa450edef68
* Bug 867030 - QPID-4374: Reduce contention on Queue::messageLock (Jason Dillaman)Alan Conway2012-10-182-6/+7
| | | | | | Introduce a separate lock for Queue::UsageBarrier. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1399812 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4373 Repair r1399311 with more fluent CLI switch nameCharles E. Rolke2012-10-171-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1399369 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4373 fix ambiguous CLI args; restore C++ broker schema propertyCharles E. Rolke2012-10-175-4/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1399311 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3892 checkin r1362014 - add AclTopicMatch.h to the automake schemeCharles E. Rolke2012-10-171-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1399279 13f79535-47bb-0310-9956-ffa450edef68
* MQPID-4286: QMF queries for HA replication take too long to process (Jason ↵Alan Conway2012-10-1535-1220/+1118
| | | | | | | | | | Dillaman) Rework ManagementAgent locks, get rid of shared buffers that were points of contention. Minor log message improvements in ha code. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1398530 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4345: plug Windows memory leak on close (async write error)Clifford Allan Jansen2012-10-131-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1397926 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4350 BZ860701 HA handle autodelete queues - repair windows buildCharles E. Rolke2012-10-121-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1397735 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix compile error on windows.Alan Conway2012-10-121-1/+1
| | | | | | Using a private class typedef in a free function. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1397723 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4369: HA backup brokers core dump in benchmark test.Alan Conway2012-10-125-24/+26
| | | | | | | | Was seeing core dumps with QueueReplicator::queue == 0. Caused by race conditions when calling QueueReplicator::deactivate. Renamed deactivate to destroy and call it only when the broker::Queue is destroyed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1397676 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: fix tests output of priorityGordon Sim2012-10-121-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1397507 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: remove unused classGordon Sim2012-10-125-116/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1397506 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: remove unused methodGordon Sim2012-10-122-6/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1397502 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4349: Duplicate messages with alternate exchange.Alan Conway2012-10-111-0/+27
| | | | | | | This check-in is a test only, the issue was fixed as a side effect of the fix for QPID-4350. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1397295 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix compilation errorGordon Sim2012-10-111-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1397279 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix spelling if --link-maintenace-interval option and add ↵Alan Conway2012-10-112-3/+5
| | | | | | | | descriptive text. Also added description for --link-heartbeat-interval git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1397253 13f79535-47bb-0310-9956-ffa450edef68
* Bug 860701 - QPID-4350: HA handle auto-delete queuesAlan Conway2012-10-1110-86/+326
| | | | | | | Subscribed auto-delete queues are deleted by the backup. Timed auto-delete queues are deleted after the timeout. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1397243 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4360: Fix test bug: Non-ready HA broker can be incorrectly promoted to ↵Alan Conway2012-10-096-50/+52
| | | | | | | | | | | primary. Test test_delete_missing_response was failing with "cluster active, cannot promote". - Fixed test bug: "fake" primary triggered "cannot promote". - Backup: always create QueueReplicator if not already existing. - Terminology change: "initial" queues -> "catch-up" queues. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1396244 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4360 Fix unix/windows builds after commit 1394706Charles E. Rolke2012-10-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1395627 13f79535-47bb-0310-9956-ffa450edef68