summaryrefslogtreecommitdiff
path: root/cpp/src/qpid
Commit message (Collapse)AuthorAgeFilesLines
* QPID-3004: Keep the code compatible with clang C++ compiler (and probably ↵Andrew Stitcher2012-05-223-16/+12
| | | | | | | | | | | 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/qpid@1341608 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Renamed brokers and public-brokers to brokers-url and public-url ↵Alan Conway2012-05-223-18/+18
| | | | | | for clarity. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1341581 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA backups pass identifying info to primary.Alan Conway2012-05-2210-28/+198
| | | | | | Pass hostname, management UUID and status in link connection arguments. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@1341229 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4011: TestIsLocalHost unit_test fails with if machine name resolves to ↵Andrew Stitcher2012-05-181-11/+28
| | | | | | | | 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/qpid@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/qpid@1340278 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4008: added check for INVALID_SOCKET similar to Linux implementationClifford Jansen2012-05-171-7/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1339927 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/qpid@1339696 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4005: Eliminate "using" especially "using namespace" from header fileAndrew Stitcher2012-05-1621-21/+43
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1339403 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Removed unused FileAndrew Stitcher2012-05-161-70/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@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/qpid@1339358 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA don't replicate excluseive, auto-delete, non-timeout queues.Alan Conway2012-05-162-6/+26
| | | | | | | | | 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/qpid@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/qpid@1339204 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA rename "promoting" to "recovering"Alan Conway2012-05-155-13/+13
| | | | | | Better term, a broker in failover recovers to become the primary, hence recovering. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@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/qpid@1338894 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Test fixes to ha_tests.pyAlan Conway2012-05-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1338893 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Fix inconsistent use of bridge-name and queue-name for bridge ↵Alan Conway2012-05-151-1/+1
| | | | | | sessions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1338892 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA backup brokers don't connect to self when searching for primary.Alan Conway2012-05-155-14/+32
| | | | | | Also: BrokerReplicator destroys bridge in destructor. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1338891 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA primary marks ReplicatingSubscription ready immediately if ↵Alan Conway2012-05-155-105/+123
| | | | | | queue is empty. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1338890 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA broker backup/primary ready checks.Alan Conway2012-05-1525-317/+911
| | | | | | | | | | | | | | | | | - Introduce HA broker state machien - Inform backup queues when ready. - Incomplete implementation of backup ready check. - does not count correctly after a failover, see countUnready. - Existing replicator bridges updated out of sync with BrokerReplicator initialize. - Does not handle multi-messages responses. - Newly promoted HA primary waits for backups to be ready before accepting clients. - Uniform log prefixes for HA messages. - qpid-ha tests, call qpid-ha python code directly. - Move excluder from Backup to HaBroker, it is also used in PROMOTING. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1338889 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Reduce message for missing lock file from critical to notice.Alan Conway2012-05-141-1/+1
| | | | | | | | If qpidd -q can't find the lock file, it used to issue a critical error message. This is to harsh, not finding the lock file usually just means the broker isn't running. Demoted to a notice message. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1338365 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Add finalizer for HaPlugin, fix hang on exit not responding to ↵Alan Conway2012-05-141-2/+9
| | | | | | kill -TERM. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1338264 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Make failover subscrption optional for Links.Alan Conway2012-05-095-62/+77
| | | | | | Used by ha::Backup because HA brokers use a different reconnect list from clients. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1336246 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603 Added SystemInfo::isLocalHost Charles E. Rolke2012-05-081-1/+3
| | | | | | Repair r1335562 by including proper header files. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1335706 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Add ErrorListener to Bridge to handle session errors.Alan Conway2012-05-086-28/+175
| | | | | | Will be used in HA code. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1335563 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Added SystemInfo::isLocalHost to check if a host name refers to ↵Alan Conway2012-05-082-25/+63
| | | | | | the local host. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1335562 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA Fix calculation of buffer size.Charles E. Rolke2012-05-071-1/+1
| | | | | | | | Buffers that have hex chars may have hundreds of them. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1335016 13f79535-47bb-0310-9956-ffa450edef68
* Don't go through the IOCP wait if the poller is shut down. Fixes QPID-3982.Stephen D. Huston2012-05-051-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1334487 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3767: fix queue replicator nameKen Giusti2012-05-041-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1334139 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3767: re-index bridge and link by constant name, not addressKen Giusti2012-05-0415-220/+637
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1334138 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2616 Count and limit client connections.Charles E. Rolke2012-05-022-5/+10
| | | | | | | | Bug fix: use Connection.getUserId() and not getUsername() to identify user and upgrade selftest to match. Add comment to Connection.h to suggest the particular pitfall. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1333110 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2616 Count and limit client connections.Charles E. Rolke2012-05-015-7/+26
| | | | | | | | Add management statistic and event to record denied connections. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1332788 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3963: update cluster version.Ken Giusti2012-05-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1332660 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3963: replicate learned failover addresses to new cluster membersKen Giusti2012-05-015-3/+95
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1332657 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3963: use unique name for created session and queueKen Giusti2012-05-012-8/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1332656 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3963: cleanups from reviewboard inputKen Giusti2012-05-012-21/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1332655 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3963: fix naming of link exchange, and exchange creation/replication ↵Ken Giusti2012-05-014-32/+89
| | | | | | handling git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1332654 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3963: subscribe link to remote broker's to amq.failover exchange.Ken Giusti2012-05-012-8/+127
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1332653 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2616 Count and limit client connectionsCharles E. Rolke2012-04-275-47/+349
| | | | | | | | Limit client connections by name and by host address. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1331549 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3974: update statistics for dropped duplicate messages in replication ↵Gordon Sim2012-04-261-1/+7
| | | | | | exchange (patch from Pavel Moravec) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1331037 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3970: Check alternate exchange actually exists before proceeding with ↵Gordon Sim2012-04-231-2/+7
| | | | | | reroute request git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1329438 13f79535-47bb-0310-9956-ffa450edef68
* Added missing externs for Windows builds. NO-JIRAStephen D. Huston2012-04-231-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1329410 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3960: Fix performance regression in priority queue implementation.Alan Conway2012-04-239-159/+208
| | | | | | | | | | | | Revision r1307582 created a serious degredation in priority queue performance. It replaced a muti-deque implementation with o(1) complexity for consuming with a map implementation with o(log(n)) performance. This revision returns to a mutli-deque algorithm but with the addition of a FIFO index for fast browsing of acquired and unacquired messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1329301 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Install HA connection excluder at the beginning of initialization.Alan Conway2012-04-232-51/+51
| | | | | | | Previosly excluder was being installed late allowing connections to a backup and diverting backups from the real primary. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1329300 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3510 - Created a separate option in CommonOptions for the client ↵Ted Ross2012-04-234-12/+13
| | | | | | configuration file. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1329236 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3510 - Allow client configuration-file to be overridden via QPID_CONFIG ↵Ted Ross2012-04-203-4/+10
| | | | | | env variable. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1328494 13f79535-47bb-0310-9956-ffa450edef68