summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
Commit message (Collapse)AuthorAgeFilesLines
* Bug fixes for QMF:Ted Ross2008-11-262-29/+36
| | | | | | | | | | | | ManagementAgentImpl - don't send messages if broker is not connected. ManagementBroker - agents could be assigned the same agentBank - don't send console-attached for attached agents - handle multiple qmf messages in an AMQP body schema.py - Don't use the FieldTable copy-constructor, use .clear() git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@720973 13f79535-47bb-0310-9956-ffa450edef68
* Added a copy constructor and assignment operator to FieldTable.Ted Ross2008-11-262-0/+15
| | | | | | | | | | | | | | | | | This was done to solve a library problem with the RHEL4 distribution. The compiler generated the assignment operator in an application using the C++ qpid client libraries. This generated function (referenced by a weak symbol) appeared to be causing problems in the heart of the library (handling of the ConnectionStartBody) with regard to the handling of field tables. The failure mechanism is not fully understood, but this seemingly innocuous change solves the problem. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@720972 13f79535-47bb-0310-9956-ffa450edef68
* Removed mistakenly commited lines.Alan Conway2008-11-261-4/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@720954 13f79535-47bb-0310-9956-ffa450edef68
* Cluster.cpp: Fixed last-node-standing logic, better logging.Alan Conway2008-11-266-76/+84
| | | | | | | Shlib.cpp: added file name to errors messages. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@720924 13f79535-47bb-0310-9956-ffa450edef68
* Fixed problem of recurring xids (0, 1, 2...) on successive txtest runs which ↵Kim van der Riet2008-11-261-7/+9
| | | | | | can cause journal txn recover failures. The xid is now the 36-char string representation of a UUID and should have a great test-to-test diversity. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@720910 13f79535-47bb-0310-9956-ffa450edef68
* Fix typo.Alan Conway2008-11-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@720897 13f79535-47bb-0310-9956-ffa450edef68
* cluster_test.cpp: Extended testUnacked to cover acquired, accepted but not ↵Alan Conway2008-11-251-3/+23
| | | | | | completed case. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@720585 13f79535-47bb-0310-9956-ffa450edef68
* Clean up logging a bit: only warn once, not for every connectionGordon Sim2008-11-251-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@720538 13f79535-47bb-0310-9956-ffa450edef68
* Prevent cluster module being loaded twice if module is also installed.Gordon Sim2008-11-251-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@720528 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1478: Same fix is required in SslConnector unfortunately.Gordon Sim2008-11-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@720271 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1478: ensure concurrent publishers work correctly (as well as reported ↵Gordon Sim2008-11-244-4/+61
| | | | | | assertion, the test uncovered a potential deadlock due to bounds being expanded before frames were added to queue). git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@720251 13f79535-47bb-0310-9956-ffa450edef68
* tests/failover_soak.cpp: Only load cluster module, reduces logging clutter.Alan Conway2008-11-241-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@720248 13f79535-47bb-0310-9956-ffa450edef68
* tests/failover_soak.cpp: add unique log-prefix per broker.Alan Conway2008-11-241-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@720246 13f79535-47bb-0310-9956-ffa450edef68
* Reduce logging noise from NullMessageStore: log "persistence disabled" once ↵Alan Conway2008-11-245-41/+16
| | | | | | at start up, not on every action. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@720243 13f79535-47bb-0310-9956-ffa450edef68
* Avoid spurious error message for TransportFailureGordon Sim2008-11-241-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@720178 13f79535-47bb-0310-9956-ffa450edef68
* Clearer error message for case when specified module-dir is not a directory.Gordon Sim2008-11-241-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@720177 13f79535-47bb-0310-9956-ffa450edef68
* Fixed several problems related to qmf update timestamps:Ted Ross2008-11-214-35/+31
| | | | | | | | | | | | | - Timestamps were set at update send time regardless of whether the object's contents were actually changed. Now timestamps are set at the time of the change. - Agent heartbeat messages are now being sent after periodic updates, not before. Cleaned up the Agent object in qmf.console. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@719699 13f79535-47bb-0310-9956-ffa450edef68
* Add missing bounds checks.Alan Conway2008-11-201-2/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@719419 13f79535-47bb-0310-9956-ffa450edef68
* Exorcise remains of boost.spirit parser.Alan Conway2008-11-201-68/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@719410 13f79535-47bb-0310-9956-ffa450edef68
* Add missing DIST rules.Alan Conway2008-11-201-3/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@719400 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1464 - Moved qmf console API out of python/qpid and into python/qmfTed Ross2008-11-201-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@719359 13f79535-47bb-0310-9956-ffa450edef68
* Add proper cleanup of stored management objects during agent shutdown.Ted Ross2008-11-201-0/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@719326 13f79535-47bb-0310-9956-ffa450edef68
* Replaced boost.spirit-based URL parser with simple recursive descent parser.Alan Conway2008-11-205-63/+224
| | | | | | | | | | | | | boost.spirit has some known thread-safety issues and appears to be causing qpid clients to crash in several scenarios. The new parser is trivially thread safe and relatively easy to extend. It's a simple recursive descent parser, sufficient for simple grammars like those used in URL formats. It's not intended to be a full-featured parser framework like spirit. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@719317 13f79535-47bb-0310-9956-ffa450edef68
* Added some extra test options.Gordon Sim2008-11-203-15/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@719298 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1476 - routing keys used for updates can't be used to discriminate by agentTed Ross2008-11-202-13/+24
| | | | | | | | | - Fixed routing keys in agents and binding keys in consoles - Added some additional debug output for ManagementAgentImpl - Minor cleanup in the connection close path for ManagementAgentImpl git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@719245 13f79535-47bb-0310-9956-ffa450edef68
* Replace lower_bound with equivalent loop; resolves QPID-1424Stephen D. Huston2008-11-191-3/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@719133 13f79535-47bb-0310-9956-ffa450edef68
* File descriptor leak in ForkedBroker test utility.Alan Conway2008-11-191-6/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@719062 13f79535-47bb-0310-9956-ffa450edef68
* tests/failover_soak: run a cluster with clients, kill and restart cluster ↵Alan Conway2008-11-197-9/+1058
| | | | | | members, verify client fail-over. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@719055 13f79535-47bb-0310-9956-ffa450edef68
* Ensure that callbacks are removed before IncompleteMessageList instance is ↵Gordon Sim2008-11-195-1/+11
| | | | | | | | | | deleted. (also removed commented out line of code from Queue.cpp) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@719012 13f79535-47bb-0310-9956-ffa450edef68
* Fix seg fault caused by exceptiosn thrown in Cluster ctor.Alan Conway2008-11-192-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@718983 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1474: Changed lock scope for PollerHandle::~PollerHandleAndrew Stitcher2008-11-191-0/+5
| | | | | | | Also check state better to make sure the impl can't be deleted more than once in a race git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@718966 13f79535-47bb-0310-9956-ffa450edef68
* Fix --cluster-cman option to enable cman integration.Alan Conway2008-11-197-38/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@718961 13f79535-47bb-0310-9956-ffa450edef68
* Removed overblown Doxygen comments.Jonathan Robie2008-11-191-25/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@718937 13f79535-47bb-0310-9956-ffa450edef68
* Change formats to VC9, add MaxMethodBodySize and remove it from ↵Stephen D. Huston2008-11-196-52/+450
| | | | | | protocol_gen.mak; resolved QPID-1473 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@718813 13f79535-47bb-0310-9956-ffa450edef68
* Add Windows-specific files to EXTRA_DIST so they are in releases; fixes ↵Stephen D. Huston2008-11-181-1/+38
| | | | | | QPID-1467 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@718802 13f79535-47bb-0310-9956-ffa450edef68
* Added doxygen documentation for Connection::open(ConnectionSettings)Jonathan Robie2008-11-181-2/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@718718 13f79535-47bb-0310-9956-ffa450edef68
* Optional cluster integration with cman quorum service.Alan Conway2008-11-1810-13/+213
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@718693 13f79535-47bb-0310-9956-ffa450edef68
* Deleting doxygen_mainpage.h, which has moved to the src/cpp/docs/api directory.Jonathan Robie2008-11-171-28/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@718280 13f79535-47bb-0310-9956-ffa450edef68
* Remove optimistic consume options. Better default message for SSL errors.Alan Conway2008-11-176-72/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@718277 13f79535-47bb-0310-9956-ffa450edef68
* Fixed erroneous test preventing cleanup of broker.Gordon Sim2008-11-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@718237 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1465: Fixed initialisation of minimum value so it is tracked correctlyAndrew Stitcher2008-11-141-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@714126 13f79535-47bb-0310-9956-ffa450edef68
* Ensure config file can be found (its in source tree not build tree)Gordon Sim2008-11-141-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@714121 13f79535-47bb-0310-9956-ffa450edef68
* Remove all cluster targets if configured --without-cpg.Alan Conway2008-11-141-3/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@714112 13f79535-47bb-0310-9956-ffa450edef68
* Avoid alarming error message when unencrypted tcp is disabled. Test ↵Gordon Sim2008-11-141-5/+4
| | | | | | availability of tcp transport rather than catching exception if its not enabled. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@714099 13f79535-47bb-0310-9956-ffa450edef68
* Added further test script missing from distribution list and thus causing ↵Gordon Sim2008-11-141-0/+1
| | | | | | distcheck to fail if cluster module is enabled. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@714072 13f79535-47bb-0310-9956-ffa450edef68
* Added some failover capable testsGordon Sim2008-11-1410-12/+534
| | | | | | | | Added grantCredit() method to subscription to allow simpler control of message delivery git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@714065 13f79535-47bb-0310-9956-ffa450edef68
* Remove dummy cluster.so library, no longer needed & confusing.Alan Conway2008-11-141-4/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@714051 13f79535-47bb-0310-9956-ffa450edef68
* Add config.null file to distributed list or distcheck fails (todo: might be ↵Gordon Sim2008-11-141-0/+1
| | | | | | nicer to just generate that since its just an empty file) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@714030 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1461 - Added qmf event support for connections.Ted Ross2008-11-137-14/+84
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@713838 13f79535-47bb-0310-9956-ffa450edef68
* Added a second level of debug output for the qmf protocol exchange.Ted Ross2008-11-132-8/+63
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@713817 13f79535-47bb-0310-9956-ffa450edef68