summaryrefslogtreecommitdiff
path: root/cpp/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
* QPID-2734: Tighter control over sasl related test; now passes when ↵Gordon Sim2010-07-152-1/+14
| | | | | | cyrus-sasl not in use. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@964571 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
* Move libqpidtypes to the front of the libraries list.Alan Conway2010-07-141-1/+1
| | | | | | | Was causing failure of make install "can't find -lqpidtypes". git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@964197 13f79535-47bb-0310-9956-ffa450edef68
* Specify paths for the generated resource file so it gets picked up correctly ↵Stephen D. Huston2010-07-141-2/+2
| | | | | | when generating projects. Fixes QPID-2728. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@964013 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2728 - Patch from Chuck RolkeTed Ross2010-07-131-1/+2
| | | | | | | Fix recent changes to CMake build to properly handle separate source/build directories git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@963759 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
* QPID-2711 - Patch from Chuck RolkeTed Ross2010-07-085-15/+340
| | | | | | Add version and icon resources to Windows C++ exe/dll files git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@961962 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-085-0/+47
| | | | 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-073-14/+18
| | | | | | | 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-062-1/+38
| | | | | | nextReceiver() call. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@960951 13f79535-47bb-0310-9956-ffa450edef68
* Fix link error on fedora 13Alan Conway2010-07-061-3/+1
| | | | | | Removed duplicate .o files linked with cluster_test executable. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@960894 13f79535-47bb-0310-9956-ffa450edef68
* Defer delivery of messages in cluster-unsafe context.Alan Conway2010-07-056-5/+79
| | | | | | | | | | | | | | | 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
* Added types/ImportExport.h to installed headers.Alan Conway2010-07-051-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@960588 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-012-3/+11
| | | | | | | | | | 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
* Ensure broker is deleted in main thread, not by global destructors.Alan Conway2010-07-011-4/+13
| | | | | | | Finish the fix of r959661 by making it exception safe. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@959746 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Translate exceptions to correct type when occuring on creating new ↵Gordon Sim2010-07-012-0/+12
| | | | | | session. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@959721 13f79535-47bb-0310-9956-ffa450edef68
* Ensure broker is deleted in main thread, not by global destructors.Alan Conway2010-07-011-0/+2
| | | | | | | Fixes core dumps during shutdown. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@959661 13f79535-47bb-0310-9956-ffa450edef68
* Add qpid/types/ImportExport.h to distribution.Alan Conway2010-07-011-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@959638 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: expose authenticated username for connectionGordon Sim2010-06-305-1/+16
| | | | 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-302-2/+15
| | | | 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-303-23/+47
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@959419 13f79535-47bb-0310-9956-ffa450edef68
* Move all shared lib prefix/postfix/suffix settings from tests/CMakeLists.txt ↵Stephen D. Huston2010-06-293-13/+11
| | | | | | to config.h (revises the plan implemented at r770001). Also sets separate macros for MODULE and SHLIB. Fixes QPID-2707. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@959067 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
* QPID-2689: Install and package Visual Studio debugging symbols (.pdb) files,Andrew Stitcher2010-06-281-35/+46
| | | | | | | | in the windows sdk zip package. A Modified version of a patch from Chuck Rolke git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@958703 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2698: recognise special property names for amqp 0-10 specific message- ↵Gordon Sim2010-06-254-3/+98
| | | | | | and delivery- properties git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@958044 13f79535-47bb-0310-9956-ffa450edef68
* Fix regression in r956882, sporadic failures of ↵Alan Conway2010-06-242-15/+10
| | | | | | client_test.cpp:testBadClientData git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@957640 13f79535-47bb-0310-9956-ffa450edef68
* Fix test bug causing occasional failure of cluster_test.Alan Conway2010-06-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@957639 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2691: ensure ttl adjustment uses correct expiration on cloned messageGordon Sim2010-06-244-5/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@957511 13f79535-47bb-0310-9956-ffa450edef68
* Make verify_cluster_objects more informative.Alan Conway2010-06-231-9/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@957363 13f79535-47bb-0310-9956-ffa450edef68
* Make management+cluster test more aggressive.Alan Conway2010-06-233-13/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@957337 13f79535-47bb-0310-9956-ffa450edef68
* Changed README to README.txt throughout the project for consistency. Removed ↵Jonathan Robie2010-06-231-0/+0
| | | | | | gentools/README.txt, which described Velocity. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@957201 13f79535-47bb-0310-9956-ffa450edef68
* small clean up: Remove use of obsolete Dispatcher class.Andrew Stitcher2010-06-231-8/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@957110 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2388: Do not unmask signals whilst waiting for IO to happenAndrew Stitcher2010-06-232-18/+2
| | | | | | | - The client and common libraries do not use signals at all so there is no real reason to allow signal handling on IO threads. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@957109 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2688: ensure that unacked messages are requeued before autodeletion ↵Gordon Sim2010-06-223-9/+37
| | | | | | occurs when session closes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@956988 13f79535-47bb-0310-9956-ffa450edef68
* Fix bad assertion introduced in prevoius commit r956882Alan Conway2010-06-222-4/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@956965 13f79535-47bb-0310-9956-ffa450edef68
* Don't hold QueueRegistry lock while iterating over queues to purge them of ↵Gordon Sim2010-06-221-1/+17
| | | | | | expired messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@956923 13f79535-47bb-0310-9956-ffa450edef68
* Fix cluster broker crashes when management is active.Alan Conway2010-06-2211-426/+185
| | | | | | | | | | | | Cluser brokers were exiting with errors "modified cluster state outside cluster context" and "confirmed < (50+0) but only sent < (49+0)" Fix was to: - delay completion of incoming update till update connection closes. - delay addding new connections to managment until connection is announced. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@956882 13f79535-47bb-0310-9956-ffa450edef68
* Fix version infoAlan Conway2010-06-187-30/+11
| | | | | | | | - no version info for modules - no $(PLUGINLDFLAGS) on libqmfconsole, typo in previous merge. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@956001 13f79535-47bb-0310-9956-ffa450edef68
* Consistent comparison of unsigned values; clarify usage as well as removing ↵Stephen D. Huston2010-06-171-1/+2
| | | | | | potential bad compare. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@955749 13f79535-47bb-0310-9956-ffa450edef68
* Change warning C4996 from level 1 to level 4. This is the "warning C4996: ↵Stephen D. Huston2010-06-171-1/+0
| | | | | | 'std::equal': Function call with parameters that may be unsafe" warning. The "safe" replacements are only available on Windows, so can't be portably used. If the conditions are violated run-time errors are thrown, so these aren't totally ignored. Changing them to level 4 makes it possible for someone to easily find them all in a build if desired. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@955742 13f79535-47bb-0310-9956-ffa450edef68
* Allow libraries to be independently versioned in the autotools build.Alan Conway2010-06-178-34/+52
| | | | | | | | Each library libfoo or plugin foo has a variable FOO_VERSION_INFO with a value passed as -version-info to libtool. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@955672 13f79535-47bb-0310-9956-ffa450edef68
* Bug 603835 - cluster_tests.test_management failing.Alan Conway2010-06-166-37/+53
| | | | | | | | | | | Clean up connections causing extra connection objects in the mangement agent map. - update connection was not being closed. - connections belonging to members that left the cluster were not fully cleaned up Also fixed test errors making failover_soak fail sporadically. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@955370 13f79535-47bb-0310-9956-ffa450edef68
* remove assertion for condition that is in fact valid (the callback could ↵Gordon Sim2010-06-161-2/+0
| | | | | | have been processed on the back of an event concurrently returned with the interrupt request) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@955339 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2670: copy-on-write when tagging message for loop detectionGordon Sim2010-06-156-4/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@954933 13f79535-47bb-0310-9956-ffa450edef68
* This change is a partial fix for the problem of long cluster failovers. ↵Michael Goulish2010-06-151-1/+3
| | | | | | | | | | | This change addresses part of that problem: long newbie-broker catchup times. At this time, it looks as though there are two distinct mechanisms causing these long catchup times. They roughly divide into a population of times less than 20 seconds, and a population of much longer times (up to hundreds of seconds). This fix addresses only the shorter times. In a test of 25 failovers before and after the change, it reduced those times by an average of nearly 50%. A T-test on the times indicates that the likelihood of the observed change happening randomly is less than 2%. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@954895 13f79535-47bb-0310-9956-ffa450edef68