summaryrefslogtreecommitdiff
path: root/cpp/src
Commit message (Collapse)AuthorAgeFilesLines
* Removed static Cpg::handlers, fixed ForkedBroker shutdown.Alan Conway2008-07-085-59/+53
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@674855 13f79535-47bb-0310-9956-ffa450edef68
* * release message lock when notifying queue listenersGordon Sim2008-07-082-29/+53
| | | | | | | | | * take copy of listeners * remove unused functionality git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@674848 13f79535-47bb-0310-9956-ffa450edef68
* Fix leak in XmlClientSessionTests - was leaking a Session.Alan Conway2008-07-081-6/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@674825 13f79535-47bb-0310-9956-ffa450edef68
* ForkedBroker: child process exits on completion.Alan Conway2008-07-071-1/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@674587 13f79535-47bb-0310-9956-ffa450edef68
* Restore use of SignalHandler in qpidd.cpp, fixed errors in previous commit.Alan Conway2008-07-072-24/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@674504 13f79535-47bb-0310-9956-ffa450edef68
* Temporarily reverting changes to signal handling; as checked in by r674107 ↵Gordon Sim2008-07-071-2/+18
| | | | | | it prevents the broker being shutdown. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@674482 13f79535-47bb-0310-9956-ffa450edef68
* Disabled cluster_test temporarily, it leaks processes.Alan Conway2008-07-041-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@674124 13f79535-47bb-0310-9956-ffa450edef68
* Remove debugging cout accidentally left in.Alan Conway2008-07-041-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@674113 13f79535-47bb-0310-9956-ffa450edef68
* Cluster prototype: handles client-initiated commands (not dequeues)Alan Conway2008-07-0437-218/+835
| | | | | | | | | | | | | | | | Details - Cluster.cpp: serializes all frames thru cluster (see below) - broker/ConnectionManager: Added handler chain in front of Connection::received. - sys::Fork and ForkWithMessage - abstractions for forking with posix impl. - tests/ForkedBroker.h: test utility to fork a broker process. - broker/SignalHandler: Encapsulated signal handling from qpidd.cpp - Various minor logging & error message improvements to aid debugging. NB: current impl will not scale. It is functional working starting point so we can start testing & profiling to find the right optimizations. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@674107 13f79535-47bb-0310-9956-ffa450edef68
* Improved text and rasied severity of log entry when client sessions are ↵Gordon Sim2008-07-021-1/+1
| | | | | | deleted without first being closed. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@673359 13f79535-47bb-0310-9956-ffa450edef68
* Added timeout to SubscriptionManager::get(), LocalQueue::get() and ↵Alan Conway2008-07-019-317/+118
| | | | | | BlockingQueue::get() git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@673158 13f79535-47bb-0310-9956-ffa450edef68
* Added extra option (fixed time limit in rate mode) to latency test. Patch ↵Gordon Sim2008-07-011-10/+27
| | | | | | from acme@redhat.com. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@673031 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1160 - Per-thread counters in management API to avoid lockingTed Ross2008-06-3015-54/+72
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@672864 13f79535-47bb-0310-9956-ffa450edef68
* Fix exit status when VALIGRIND=Alan Conway2008-06-271-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@672269 13f79535-47bb-0310-9956-ffa450edef68
* Plugin framework change: single PluginFactory creates per-target Plugin ↵Alan Conway2008-06-2611-165/+187
| | | | | | instances. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@672032 13f79535-47bb-0310-9956-ffa450edef68
* Consolidated cluster tests in cluster_test.cppAlan Conway2008-06-2612-301/+272
| | | | | | | Improvements to BrokerFixture for testing. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@671969 13f79535-47bb-0310-9956-ffa450edef68
* Use run_test to run valgrind for start_broker consistently with other tests.Alan Conway2008-06-263-15/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@671916 13f79535-47bb-0310-9956-ffa450edef68
* From Matt Farrellee - https://issues.apache.org/jira/browse/QPID-1151Alan Conway2008-06-261-1/+3
| | | | | | | Remove un-necessary link dependencies from client and common libraries. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@671902 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1137: don't treat connection as opened if the open never succeedsGordon Sim2008-06-263-3/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@671877 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1147: Avoid usage of 'source' builtin in pure sh scriptsGordon Sim2008-06-261-1/+1
| | | | | | | | Patch from Manuel Teira that replaces "source" builtin with a dot inclusion on run_test script git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@671824 13f79535-47bb-0310-9956-ffa450edef68
* Additions to the client API:Alan Conway2008-06-2511-38/+227
| | | | | | | | - SubscriptionManager::get(queue) to get a single message from a queue. - Set FlowControl per-subscription. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@671655 13f79535-47bb-0310-9956-ffa450edef68
* - use flock to lock data dir rather than a lock file.Alan Conway2008-06-257-64/+78
| | | | | | | - removed troublesome global constructor in Mutex initialization. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@671604 13f79535-47bb-0310-9956-ffa450edef68
* Const-correctness fixes in MessageStore.hAlan Conway2008-06-238-52/+65
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@670718 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1069: Patch from Steve Huston: Build with Boost 1.35Andrew Stitcher2008-06-201-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@670089 13f79535-47bb-0310-9956-ffa450edef68
* Patch from Manuel Teira: ↵Alan Conway2008-06-205-21/+21
| | | | | | | | | | | | | | https://issues.apache.org/jira/secure/CommentAssignIssue!default.jspa?action=5&id=12398038 - Use standard automake makefiles to build cpp/examples. - Rationalize examples directory structure. Additions to patch: - Fix for VPATH builds. - Fix make distcheck (finally!) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@670066 13f79535-47bb-0310-9956-ffa450edef68
* Fix packaging error.Alan Conway2008-06-181-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@669272 13f79535-47bb-0310-9956-ffa450edef68
* Bring cluster code up to date.Alan Conway2008-06-1814-81/+92
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@669236 13f79535-47bb-0310-9956-ffa450edef68
* Fix bug that commits after every message. Oops!Gordon Sim2008-06-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@669215 13f79535-47bb-0310-9956-ffa450edef68
* Added option to start topictest scripti n transactional mode (&durable)Gordon Sim2008-06-171-3/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@668582 13f79535-47bb-0310-9956-ffa450edef68
* Fix for broker wraparound problem.Alan Conway2008-06-135-12/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@667603 13f79535-47bb-0310-9956-ffa450edef68
* Revert SessionState changes in r667503.Alan Conway2008-06-131-12/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@667554 13f79535-47bb-0310-9956-ffa450edef68
* Fix bug in SessionState - avoid all replay calculations for timeout==0.Alan Conway2008-06-131-8/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@667503 13f79535-47bb-0310-9956-ffa450edef68
* Default --log-output to syslog in --daemon mode.Alan Conway2008-06-121-2/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@667253 13f79535-47bb-0310-9956-ffa450edef68
* Fix test error.Alan Conway2008-06-121-3/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@667215 13f79535-47bb-0310-9956-ffa450edef68
* Propagate error messages across the Demux between network & user threads.Alan Conway2008-06-125-10/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@667205 13f79535-47bb-0310-9956-ffa450edef68
* * make tcp-nodelay option available for all testsGordon Sim2008-06-112-10/+50
| | | | | | | | | | * option for outputting csv from latency test (from lgoncalv@redhat.com) * option for cumulative output from latency test (from lgoncalv@redhat.com) * specify interval in millisecs instead of secs (from acme@redhat.com) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@666610 13f79535-47bb-0310-9956-ffa450edef68
* Improved exception handling for commit.Gordon Sim2008-06-101-10/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@666051 13f79535-47bb-0310-9956-ffa450edef68
* Updated doxygen comments in qpid/client/*.hAlan Conway2008-06-0929-430/+188
| | | | | | | Changed request-response example to use SubscriptionManager like the others. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@665891 13f79535-47bb-0310-9956-ffa450edef68
* Moved from AccumulatedAck to SequenceSet in managing transactional acceptsGordon Sim2008-06-0918-307/+42
| | | | | | | | | Added transactional option to perftest Removed clientid from ConnectionSettings as it appears not to be used git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@665890 13f79535-47bb-0310-9956-ffa450edef68
* Missing lock in SessionManager::forget()Alan Conway2008-06-091-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@664695 13f79535-47bb-0310-9956-ffa450edef68
* add missing headerNuno Santos2008-06-061-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@664139 13f79535-47bb-0310-9956-ffa450edef68
* Added exceptions to sys::Waitable.Alan Conway2008-06-0611-88/+119
| | | | | | | | Fixed client side deadlock involving client::Bounds. Fixed incorrect exception messages during connection shutdown. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@664114 13f79535-47bb-0310-9956-ffa450edef68
* Added mutexes back in to protect management counts from corruptionTed Ross2008-06-062-4/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@664112 13f79535-47bb-0310-9956-ffa450edef68
* Modified to work with boost-1.32Alan Conway2008-06-051-8/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@663761 13f79535-47bb-0310-9956-ffa450edef68
* Dequeue persistent messages from store in queue purgeTed Ross2008-06-051-1/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@663755 13f79535-47bb-0310-9956-ffa450edef68
* Uncomment test now that inline allocator is fixed.Gordon Sim2008-06-051-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@663742 13f79535-47bb-0310-9956-ffa450edef68
* Fixed bug in InlineAllocatorAlan Conway2008-06-051-4/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@663731 13f79535-47bb-0310-9956-ffa450edef68
* Load modules from /usr/lib64/qpidd on x86_64 architectureTed Ross2008-06-051-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@663614 13f79535-47bb-0310-9956-ffa450edef68
* Fix to makefile and tests (one test temporarily disabled until a fix is found).Gordon Sim2008-06-055-40/+65
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@663601 13f79535-47bb-0310-9956-ffa450edef68
* Re-introduced previously clobbered realm option.Gordon Sim2008-06-051-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@663519 13f79535-47bb-0310-9956-ffa450edef68