summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
Commit message (Collapse)AuthorAgeFilesLines
* QPID-4855: fix compilation error with some compilersGordon Sim2013-05-162-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1483436 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: HA Use qpid::Address in ha::BrokerInfo rather than host/port.Alan Conway2013-05-164-18/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1483138 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4850: HA Sporadic stall in ha_tests.test_failover_send_receiveAlan Conway2013-05-153-9/+4
| | | | | | | | Fixed a deadlock in the test: test was killing a backup broker then waiting to pass a checkpoint: however if the backup was expected by the primary, the primary holds queues till it connects, so we deadlock. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1483107 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4745: Clean up test_backup_acquired to use HaCluster.Alan Conway2013-05-151-15/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1482882 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4745: HA safe port allocation for brokers in HA tests.Alan Conway2013-05-155-87/+128
| | | | | | | | | | | | | | | | | | Many HA tests use --port=0 to start a broker on an available port, but then need to shutdown and restart the broker on the same port. This is not safe, on a busy system it is possible for another process to take the port between the time the broker is shut down and the time it is restarted. The solution is to do bind(0) and listen in the python test framework (class HaPort) and let the broker use the socket using qpidd --socket-fd. When the broker is shut down the port remains bound by the python process. When the broker is re-started it again is given access to the socket via --socket-fd. Other changes - move ha_store_tests into ha_tests. - add heartbeats to avoid stalling. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1482881 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4846: prevent assertion when translating empty 0-10 message content ↵Gordon Sim2013-05-152-1/+32
| | | | | | into 1.0 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1482795 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4839: HA Sporadic failure of ha_tests.test_join_ready_clusterAlan Conway2013-05-142-5/+10
| | | | | | | Bug in StatusCheck, was setting fetch timeout to uninitialized value which was sometimes 0, causing an immediate timeout of fetch. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1482481 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: HA moved ha_store_tests.py into ha_tests.py test suite.Alan Conway2013-05-134-129/+88
| | | | | | It was too easy to forget the store tests in a separate file. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1482023 13f79535-47bb-0310-9956-ffa450edef68
* NO_JIRA: Minor fix for error on some compilers "no newline at end of file"Kim van der Riet2013-05-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1481198 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4825: Add SOVERSION link to shared librariesDarryl L. Pierce2013-05-104-10/+38
| | | | | | Contributed by Irina Boverman <iboverma@redhat.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1480927 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix harmless but annoying Visual Studio warningAndrew Stitcher2013-05-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1480438 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3772: Fix Windows socket optionsAndrew Stitcher2013-05-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1480437 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3189: correct calculated queue depth if enqueue failsGordon Sim2013-05-081-1/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1480389 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4821: speed up selector identifier lookupsAndrew Stitcher2013-05-082-44/+60
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1480377 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4822: Allow Variant::parse() to produce VAR_UINT64 types.Andrew Stitcher2013-05-082-1/+31
| | | | | | | | - Extend qpid::messaging::Variant string parser to output unsigned 64 bit type where relevant (positive integer larger than signed 64 bits) - Added some unit tests for the qpid::messageing::Variant string parser git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1480376 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4820: fix incorrect AMQP 0-10 typecodesGordon Sim2013-05-082-3/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1480327 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4706: allow selectors to be used on links from an exchangeGordon Sim2013-05-086-2/+40
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1480239 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4819: ensure exclusive lock is released when link is detached (allowing ↵Gordon Sim2013-05-081-0/+1
| | | | | | queue to be deleted git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1480238 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4668: Correct use of delivery count (should be 0 on first delivery)Gordon Sim2013-05-084-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1480236 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4775: Fix core dumps in HA tests introduced in r1478418Alan Conway2013-05-031-2/+1
| | | | | | | | | After this revision several of the tests in ha_tests.py were core dumping with 0 pointers in FieldTable entries in Queue::settings. It's not clear why the core dumps were occuring nor why this patch fixes them. This patch eliminates a call to the QueueSettings copy constructor, so something fishy going is on there. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1478632 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4798: Fix up c++ code generation to use stripped spec files.Alan Conway2013-05-022-2/+2
| | | | | | | | The stripped specs have no <doc> elements, this was tripping up the code generator. Fixed the generator to process <doc> elements if they are present but to carry on without them if they are not. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1478582 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4810: No TCP if SSL initialisation fails and TCP/SSL mux enabledAndrew Stitcher2013-05-021-34/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1478510 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix Windows build moreCharles E. Rolke2013-05-021-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1478476 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4792: convert between UUIDs and GUIDs as needed for Microsoft APIsClifford Allan Jansen2013-05-021-13/+83
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1478471 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4775: C++ Broker add ACL property checks for delete queue and exchange.Charles E. Rolke2013-05-022-16/+264
| | | | | | | | | 0-18-based patch from Pavel Moravec was adjusted for trunk. Removed size properties from list of queue deletion check parameters. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1478418 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4807: Add new broker option to disable listening on specific transport typeAndrew Stitcher2013-05-024-44/+50
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1478398 13f79535-47bb-0310-9956-ffa450edef68
* Resolve Windows compile error and warnings. NO-JIRAStephen D. Huston2013-05-021-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1478252 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4801: Changed the log message to be of type DEBUG.Darryl L. Pierce2013-05-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1478170 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4801: Show error when config file cannot be read.Darryl L. Pierce2013-05-011-0/+3
| | | | | | | When the configuration code fails to load the file, for whatever reason, it now reports an error. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1478133 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove "FIXME" string inadvertently left in code.Alan Conway2013-05-011-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1478114 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4790: replace old client queue.delete api with QMF callKenneth Anthony Giusti2013-05-013-25/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1477979 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4786: Only have one thread processing session queue at a timeGordon Sim2013-05-013-15/+96
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1477975 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4767 [legacystore] QMF commands to create a persistent queue with an ↵Kim van der Riet2013-05-013-22/+46
| | | | | | illegal number of journal files or journal file size should be rejected, QPID-4794 Resizing qpid legacystore journal does not update queue arguments provided by QMF git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1477907 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4339: Add include necessary under some versions of unixAndrew Stitcher2013-04-301-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1477831 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4793: Change test so that regex.h works on other unixesAndrew Stitcher2013-04-301-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1477822 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4339: some more export symbol directives needed for unit_test ↵Gordon Sim2013-04-301-5/+6
| | | | | | compilation on windows git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1477784 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4339: add export symbol directivesGordon Sim2013-04-301-9/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1477771 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4759 : make qpidd --help display sasl config dir default locationMichael Goulish2013-04-303-4/+2
| | | | | | | | Backing out my previous changes and just changing the help comment for the --sasl-config flag. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1477724 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4339: fix for older compilers/c++ librariesGordon Sim2013-04-303-7/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1477698 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4759 : make both builds put sasl config file in sysconfdir/sasl2Michael Goulish2013-04-303-1/+3
| | | | | | | and display default location in qpidd --help output git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1477435 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4339: fix for windows buildGordon Sim2013-04-291-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1477366 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4720: C++ Broker headers exchange tests not using run-time comaprisons.Charles E. Rolke2013-04-294-82/+135
| | | | | | | | Main code modified only slighty so that tests can hook into actual logic. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1477317 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4339: simple paged queue implementationGordon Sim2013-04-2923-47/+900
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1477236 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4787: HA brokers find self-address in brokers_url.Alan Conway2013-04-297-34/+61
| | | | | | | | | HA brokers need to know their own addresses, but it is not safe to simply use local hosts name and Broker::getPort() since the broker may be listening on multiple addresses. The solution is to have brokers check the ha-rokers-url for their own address while doing the initial status check of the cluster. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1477165 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4631: C++ Broker federated links are protected by ACL policy.Charles E. Rolke2013-04-295-23/+129
| | | | | | | | | This issue evolved a bit between the original discussion and the final commit. See https://reviews.apache.org/r/10658/ for the details. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1477112 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove spurious header file from qpid/cpp/src/qpid/broker/Bridge.cpp.Alan Conway2013-04-291-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1477057 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4651: C++ Broker add --log-disable optionCharles E. Rolke2013-04-267-50/+382
| | | | | | | | Reviewed at https://reviews.apache.org/r/10799/ git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1476409 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4756: only invoke property update callback if properties are presentKenneth Anthony Giusti2013-04-261-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1476373 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4780: Bug 889552 - HA broker deadlock after loss of primary broker.Alan Conway2013-04-263-29/+37
| | | | | | | | | | | Lock ordering deadlock found by inspection of code and stack trace: - thread 1: Link::ioThreadProcessing(Link:lock)-> QueueReplicator::initializeBridge(QueueReplicator::lock) - thread 2: QueueReplicator::destroy(QueueReplicator::lock)-> Bridge::destroy(Link::lock) This patch breaks the lock by removing locking around Bridge::destroy in QueueReplicator::destroy. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1476305 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4748: Fix compilation warnings introduced by r1469661.Alan Conway2013-04-261-12/+12
| | | | | | Added explicit conversion from double to int64_t. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1476295 13f79535-47bb-0310-9956-ffa450edef68