summaryrefslogtreecommitdiff
path: root/cpp/src/qpid
Commit message (Collapse)AuthorAgeFilesLines
* Move the RDMA buffer tracking/destruction into the QueuePair class fromAndrew Stitcher2010-09-084-9/+7
| | | | | | the RdmaIO class. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@995126 13f79535-47bb-0310-9956-ffa450edef68
* Changed RDMA testing server not to use the lower level Rdma buffersAndrew Stitcher2010-09-081-11/+35
| | | | | | | if it needs to queue messages to echo, but to suffer the double copy overhead of using its own buffers git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@995125 13f79535-47bb-0310-9956-ffa450edef68
* Add heartbeat value to the simpler init() case. Applications that use this ↵Ted Ross2010-09-071-0/+1
| | | | | | | | | init function will now get the protection of a connection heartbeat. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@993339 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2841: set the TTL in agent heartbeat messages.Kenneth Anthony Giusti2010-09-014-6/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@991630 13f79535-47bb-0310-9956-ffa450edef68
* Give timer tasks a name for logging purposes.Alan Conway2010-08-2611-20/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@989925 13f79535-47bb-0310-9956-ffa450edef68
* Check for and abort invalid catchup connections.Alan Conway2010-08-234-3/+14
| | | | | | | Detect attempt to make a catch-up connection while we are not expecting an update. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@988312 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: allow the key in options map for an address to be quotedGordon Sim2010-08-231-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@988138 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2807: Allow per message acknowledgementGordon Sim2010-08-208-1/+58
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@987459 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2817: on close, wait for at most the heartbeat interval (if specified) ↵Gordon Sim2010-08-203-1/+30
| | | | | | for close-ok response from broker git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@987429 13f79535-47bb-0310-9956-ffa450edef68
* Fix locking in receiver impl; protect session member against concurrent ↵Gordon Sim2010-08-161-2/+7
| | | | | | fetch and init. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@985838 13f79535-47bb-0310-9956-ffa450edef68
* Remove misleading "no message store" message.Alan Conway2010-08-121-3/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@984958 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2791: batch up data indications and repliesKenneth Anthony Giusti2010-08-122-25/+47
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@984935 13f79535-47bb-0310-9956-ffa450edef68
* Fix some compilation errorsGordon Sim2010-08-121-23/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@984714 13f79535-47bb-0310-9956-ffa450edef68
* Completed the set of permutations of type-conversion for all signed and ↵Ted Ross2010-08-121-6/+156
| | | | | | unsigned integer types. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@984622 13f79535-47bb-0310-9956-ffa450edef68
* Revert commits r981517 and r981435 that moved periodic purging of queues ↵Gordon Sim2010-08-114-21/+30
| | | | | | onto cluster's timer. If the timer fires during an update it causes errors; it also puts a potentially time consuming task on the clusters dispatch thread. Instead don't purge LVQs to avoid cluster inconsistencies (and more directly the assertion that aims to prevent these). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@984357 13f79535-47bb-0310-9956-ffa450edef68
* Fixed memory management error in cluster::Quorum causing problems with ↵Alan Conway2010-08-092-4/+5
| | | | | | | | | | --cluster-cman. Sometimes caused brokers using --cluster-cman to fail with a "no permission" or "bad file-descriptor" error. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@983786 13f79535-47bb-0310-9956-ffa450edef68
* Fix crash on exit with --cluster-cman.Alan Conway2010-08-051-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@982698 13f79535-47bb-0310-9956-ffa450edef68
* Disable non-0 session timeouts.Alan Conway2010-08-035-4/+14
| | | | | | | | | | Since session resume is not fully implemented, non-0 session timeouts are of no use. Moreover the partial implementation causes problems in a cluster as stale sessions kept alive by a timeout can interfere with failover and updates. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@981933 13f79535-47bb-0310-9956-ffa450edef68
* Fixed bug in setting of the app-id header (it was set in the ↵Ted Ross2010-08-022-3/+19
| | | | | | | | | | application-headers rather than the message-properties). Made the broker agent more selective about when it broadcasts console-added messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@981592 13f79535-47bb-0310-9956-ffa450edef68
* Give queue cleaner task an explicit nameGordon Sim2010-08-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@981517 13f79535-47bb-0310-9956-ffa450edef68
* Ensure that for clustered broker the queue cleaner is run on the correct thread.Gordon Sim2010-08-023-7/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@981435 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2782: update qmf console binding api.Kenneth Anthony Giusti2010-08-014-22/+73
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@981277 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2768: allow '/' after name in address without an explicit subjectGordon Sim2010-07-291-5/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@980441 13f79535-47bb-0310-9956-ffa450edef68
* Added doxygen comments.Jonathan Robie2010-07-281-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@980174 13f79535-47bb-0310-9956-ffa450edef68
* Improved doxygen comments.Jonathan Robie2010-07-281-2/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@980163 13f79535-47bb-0310-9956-ffa450edef68
* Made the new C++ API more friendly for swig-wrapping.Ted Ross2010-07-283-0/+3
| | | | | | | | | | - Added Message::setProperty() as an alternative to using getProperties() to obtain a writable reference to a Variant::Map. - Added unit testing for this new method. - Added #ifndef SWIG conditions around the declarations of non-member operator<< methods. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@980147 13f79535-47bb-0310-9956-ffa450edef68
* Added comment on AMQP version independence.Jonathan Robie2010-07-281-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@980142 13f79535-47bb-0310-9956-ffa450edef68
* Improved doxygen comments for class description.Jonathan Robie2010-07-281-5/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@980140 13f79535-47bb-0310-9956-ffa450edef68
* Improved doxygen documentation of SessionState.Jonathan Robie2010-07-281-2/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@980096 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2702 --max-connections does not work when using cluster.Alan Conway2010-07-231-2/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@967215 13f79535-47bb-0310-9956-ffa450edef68
* Race condition in cluster+management, inconsistent errors like:Alan Conway2010-07-232-23/+46
| | | | | | | | | | | | "confirmed < (2097+0) but only sent < (2096+0)" Management messages are generated if a managed objects properties have changed since the last update. Properties of the cluster object (members and status) were sometimes being changed outside the delivery context which could create inconsistencies in the cluster. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@966933 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2754: fix management object database locking problem.Kenneth Anthony Giusti2010-07-223-112/+208
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@966795 13f79535-47bb-0310-9956-ffa450edef68
* Fix bug in cluster with authentication: nodes exit with "unauthorized-access"Alan Conway2010-07-204-1/+16
| | | | | | | | | | Adding a node to a cluster on which authentication is enabled and on which there are existing connections authenticated with mechanisms other than anonymous, may result in nodes exiting the cluster with inconsistent authorisation errors. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@965979 13f79535-47bb-0310-9956-ffa450edef68
* Fix unreferenced local variable warningStephen D. Huston2010-07-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@964623 13f79535-47bb-0310-9956-ffa450edef68
* Fix read-credit bug causing cluster brokers to disconnect clients sporadically.Alan Conway2010-07-143-10/+27
| | | | | | | Also added connection identifier in connection log messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@964213 13f79535-47bb-0310-9956-ffa450edef68
* QMF: enable python console to pull schema info from agent.Kenneth Anthony Giusti2010-07-122-103/+138
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@963479 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2727: Handle exceptions in Broker constructor and call finalise to ↵Gordon Sim2010-07-091-0/+5
| | | | | | safely cleanup plugins git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@962586 13f79535-47bb-0310-9956-ffa450edef68
* QMF: add api to get agent id, and new object id constructor that uses agent id.Kenneth Anthony Giusti2010-07-084-0/+40
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@961919 13f79535-47bb-0310-9956-ffa450edef68
* Fix cluster-safe assertion in ~Connection.Alan Conway2010-07-081-0/+6
| | | | | | | | Don't trigger cluster-safe asserts in broker::~Connection as it can be called from an IO threads during broker shutdown. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@961814 13f79535-47bb-0310-9956-ffa450edef68
* Ensure broker is deleted in main thread, not by global destructors.Alan Conway2010-07-072-13/+17
| | | | | | | This fixes a race condition that was not handled by r959746. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@961404 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Don't hold lock while waiting for incoming message in ↵Gordon Sim2010-07-061-1/+1
| | | | | | nextReceiver() call. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@960951 13f79535-47bb-0310-9956-ffa450edef68
* Defer delivery of messages in cluster-unsafe context.Alan Conway2010-07-055-4/+64
| | | | | | | | | | | | | | | Messages enqueued in a cluster-safe context are synchronized across the cluster. However some messages are delivered in a cluster-unsafe context, for example raising a link established event occurs the connection thread of the establishing connection. This fix deferrs such messages by multicasting them so they can be re-delived in a cluster safe context. See https://bugzilla.redhat.com/show_bug.cgi?id=611543 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@960681 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2716: QMF bugfix - set agent name in object idKenneth Anthony Giusti2010-07-021-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@960012 13f79535-47bb-0310-9956-ffa450edef68
* Fix sporadic cluster core on exit.Alan Conway2010-07-012-1/+1
| | | | | | | | Fix a race condition that allows a cluster::Connection to be deleted via the Cluster's local map before it was fully initialized. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@959752 13f79535-47bb-0310-9956-ffa450edef68
* Fix spordic failure in cluster_test testConnectionKnownHosts.Alan Conway2010-07-011-2/+10
| | | | | | | | | | Very occasional failure of the form: cluster_test.cpp(547): error in "testConnectionKnownHosts": check kb0 == kb2 failed [42179 57640 != 44199 57640 ] ]) Fix is to avoid using possibly out-of-date initial-brokers data from the connection. Only rely on updates received from the amq.failover exchange. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@959751 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Translate exceptions to correct type when occuring on creating new ↵Gordon Sim2010-07-011-0/+4
| | | | | | session. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@959721 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: expose authenticated username for connectionGordon Sim2010-06-304-1/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@959461 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: corrected option name for setting subscribe options on a queueGordon Sim2010-06-301-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@959451 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2708: Create a separate qpidtypes library for the types namespace.Alan Conway2010-06-301-8/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@959419 13f79535-47bb-0310-9956-ffa450edef68
* added a case for SEC_ERROR_EXPIRED_CERTIFICATE: in getErrorString() Rajith Muditha Attapattu2010-06-291-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@959064 13f79535-47bb-0310-9956-ffa450edef68