summaryrefslogtreecommitdiff
path: root/cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix error string for invalid options, fix exception handling in ↵Alan Conway2010-06-023-17/+19
| | | | | | qpid_send/qpid_receive. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950763 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2004: Now that connections are cleaned up on shutdown, some cluster ↵Gordon Sim2010-06-022-3/+0
| | | | | | safety assertions need to be relaxed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950735 13f79535-47bb-0310-9956-ffa450edef68
* Fixed sporadic client "reserved bits not 0" exceptions with cluster + ↵Alan Conway2010-06-021-1/+1
| | | | | | encryption. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950608 13f79535-47bb-0310-9956-ffa450edef68
* Correct reference to test exeStephen D. Huston2010-06-021-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950556 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Changed default for reconnect to false as that is more intuitive ↵Gordon Sim2010-06-021-1/+1
| | | | | | (e.g. when you specify the wrong broker address to start with) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950480 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2004: Send disconnected event to any handles still registered after ↵Gordon Sim2010-06-015-2/+62
| | | | | | shutdown to ensure they can clean themselves up git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950205 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2636: Ensure close is called for a disconnect preventing occasional ↵Gordon Sim2010-06-012-13/+8
| | | | | | leaks of abruptly terminated connections git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950201 13f79535-47bb-0310-9956-ffa450edef68
* Change verbosity back to 0. Oops.Michael Goulish2010-06-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950175 13f79535-47bb-0310-9956-ffa450edef68
* Source cluster environment checks in run_cluster_authentication_test/_soak.Alan Conway2010-06-012-2/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950129 13f79535-47bb-0310-9956-ffa450edef68
* Fix memory error in failover_soak.cpp.Alan Conway2010-06-011-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950126 13f79535-47bb-0310-9956-ffa450edef68
* Added pkg-config support for qpid C++ client libraries.Alan Conway2010-05-313-0/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949856 13f79535-47bb-0310-9956-ffa450edef68
* Fixed assertion error in cluster_tests.py test_failover.Alan Conway2010-05-312-1/+2
| | | | | | | Added missing call to expandd in cluster/RetractClient.cpp git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949767 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2628 - Patch from Chuck RolkeTed Ross2010-05-2843-651/+2978
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949245 13f79535-47bb-0310-9956-ffa450edef68
* Fixed conflicting clean-local targets, causing make distcheck to fail.Alan Conway2010-05-282-3/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949231 13f79535-47bb-0310-9956-ffa450edef68
* Fix make distcheck: clean sasl_config test files.Alan Conway2010-05-281-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949201 13f79535-47bb-0310-9956-ffa450edef68
* Add missing sasl_test_setup.sh to EXTRA_DISTAlan Conway2010-05-281-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949191 13f79535-47bb-0310-9956-ffa450edef68
* Fix compilation error on windowsGordon Sim2010-05-281-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949182 13f79535-47bb-0310-9956-ffa450edef68
* Allow tests that load shareable libs to work on Windows with a debug build. ↵Stephen D. Huston2010-05-283-5/+15
| | | | | | Those libs have a 'd' appended to their name. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949181 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2598: Prevent exit hang on windows (at the expense of intermittent leak ↵Gordon Sim2010-05-281-10/+8
| | | | | | on exit under linux) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949176 13f79535-47bb-0310-9956-ffa450edef68
* Fixed: authentication with bad credentials causes cluster broker to exit.Alan Conway2010-05-274-4/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@948969 13f79535-47bb-0310-9956-ffa450edef68
* Fix problems with cluster_authentication_soak test in VPATH build.Alan Conway2010-05-278-100/+74
| | | | | | | | | - Fix SASL version testing logic in cluster_authentication_soak and SaslAuthenticator - Generate all SASL config in the build directory in sasl_test_setup.sh - Compile cluster_authentication_soak only if SASL is available. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@948968 13f79535-47bb-0310-9956-ffa450edef68
* Fix issues with cluster+securityAlan Conway2010-05-273-30/+24
| | | | | | | | - was using "none" not empty string for no ID. - was multicasting secure id for update and shadow connections. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@948967 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2631: For blocking Bounds::expand() calls, only increase the current ↵Gordon Sim2010-05-277-12/+37
| | | | | | count when there is space. In SessionImpl::send() expand bounds before queueing frame. Expand bounds for all frames sent (including connection frames and cluster specific frames). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@948936 13f79535-47bb-0310-9956-ffa450edef68
* Fix "mismatched cluster-id" errors during start up.Alan Conway2010-05-252-21/+28
| | | | | | | | | Intermittent failure when starting a persistent cluster with all clean stores. Some brokers fail with: critical Unexpected error: Cluster-ID mismatch. Stores belong to different clusters. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@948143 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2617: Fix the windows build for modified method signatureGordon Sim2010-05-251-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@948072 13f79535-47bb-0310-9956-ffa450edef68
* Replaced the earlier-removed init function (in ManagementAgent.h) that usesTed Ross2010-05-257-5/+192
| | | | | | | | ConnectionSettings. Created a ConnectionSettings in the qpid::management name space that mirrors that from the qpid::client namespace. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@948046 13f79535-47bb-0310-9956-ffa450edef68
* Removed sasl test db creation from the Makefile logic, and simply put it ↵Michael Goulish2010-05-254-33/+24
| | | | | | into the test scripts where it is used. When mixed in with Makefiles, it was breaking make targets like "install". git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@947994 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2617: Fix new sasl test setup for vpath builds (patch from Mick Goulish)Gordon Sim2010-05-251-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@947947 13f79535-47bb-0310-9956-ffa450edef68
* Disable new sasl testing if SASL version is less than 2.1.22.Michael Goulish2010-05-242-0/+8
| | | | | | | Earlier version do not have SASL_PATH_TYPE_CONFIG, which this testing requires. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@947850 13f79535-47bb-0310-9956-ffa450edef68
* The cmake build caught my omission of this unused arg.Michael Goulish2010-05-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@947764 13f79535-47bb-0310-9956-ffa450edef68
* Jira QPID-2617 -- make sasl-based tests config files relocatableMichael Goulish2010-05-2413-46/+223
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this change, sasl-based testing cannot be fully automated because the sasl db must be located in the standard installation location of /etc/sasl2. * Created a new directory "sasl_config" under cpp/src/tests * added a new makefile fragment "sasl.mk" to cpp/src/Makefile.am conditionally included basedon HAVE_SASL, which is defined by configure. ( NOTE: should be in cpp/src/tests/Makefile.am, but getting an "saslpasswd2: generic failure" when I try that. ) * The sasl.mk fragment uses saslpasswd2 to create a sasl db in cpp/src/tests/sasl_config that defines two users with eponymous passwords. * In test cluster_authentication_soak.cpp, make the cluster name random. * make SaslAuthenticator code accept and use a config path * give cluster_authentication_soak self-test capability. the test is meant to detect two problems: - broker failure - perftest hang so give it flags that will force either of those conditions. This allows me to (anually) ensure that the test really does detect those conditions when they occur. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@947748 13f79535-47bb-0310-9956-ffa450edef68
* Changed the names of tests which are installed in /usr/bin/ to be prefixed ↵Kim van der Riet2010-05-2415-90/+90
| | | | | | with "qpid-". This will make these generic names easier to associate with qpid. (BZ577353) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@947678 13f79535-47bb-0310-9956-ffa450edef68
* QMF: add bindEvent api to allow filtering of unsolicted events.Kenneth Anthony Giusti2010-05-217-1/+105
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@947084 13f79535-47bb-0310-9956-ffa450edef68
* Fix broker core dump during start-up caused by un-initialized mAgent pointer.Alan Conway2010-05-211-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@947081 13f79535-47bb-0310-9956-ffa450edef68
* Added setEncoding call to strings encoded from maps and lists. Encoding is ↵Ted Ross2010-05-211-0/+1
| | | | | | "utf8" for now. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@947045 13f79535-47bb-0310-9956-ffa450edef68
* QMF: provide event filter api for python consoleKenneth Anthony Giusti2010-05-202-11/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@946801 13f79535-47bb-0310-9956-ffa450edef68
* Removed the logic in the broker's management agent that detected name ↵Ted Ross2010-05-204-115/+37
| | | | | | | | | | collisions. The new logic will disambiguate colliding names by adding an underscore to the one being inserted. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@946773 13f79535-47bb-0310-9956-ffa450edef68
* Correct class/struct reference; resolves compile warning on Windows.Stephen D. Huston2010-05-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@946407 13f79535-47bb-0310-9956-ffa450edef68
* Prevent race between shutdown() and release() resulting in attempt to close ↵Gordon Sim2010-05-191-3/+12
| | | | | | deleted connector. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@946106 13f79535-47bb-0310-9956-ffa450edef68
* Fix RDMA for upstream changes which now require notification on shutdownAndrew Stitcher2010-05-186-85/+209
| | | | | | differently from before git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945904 13f79535-47bb-0310-9956-ffa450edef68
* Fix the behaviour of the EpollPoller when shutdowns and interrupts interactAndrew Stitcher2010-05-182-14/+56
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945899 13f79535-47bb-0310-9956-ffa450edef68
* QMF: allow consoles to filter agent heartbeats based on agent identification.Kenneth Anthony Giusti2010-05-182-5/+33
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945871 13f79535-47bb-0310-9956-ffa450edef68
* Added locking to make amqp_0_10::SenderImpl thread safe.Alan Conway2010-05-182-11/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945813 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2612: Fix to windows build from Chuck RolkeGordon Sim2010-05-1813-169/+169
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945778 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2612: remove undesired char from makefile introduced by accident in ↵Gordon Sim2010-05-181-1/+1
| | | | | | last commit git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945667 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2612: remove qpidtypes lib as it causes problems on windowsGordon Sim2010-05-183-25/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945642 13f79535-47bb-0310-9956-ffa450edef68
* Fix retry logic in ConnectionImpl::newSession.Alan Conway2010-05-171-8/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945387 13f79535-47bb-0310-9956-ffa450edef68
* Use new API clients qpid_send, qpid_receive instead of sender/receiver in ↵Alan Conway2010-05-171-1/+3
| | | | | | brokertests.py git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945385 13f79535-47bb-0310-9956-ffa450edef68
* Fix for "Assertion `!mcastSentButNotReceived' failed." in cluster tests.Alan Conway2010-05-171-15/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945383 13f79535-47bb-0310-9956-ffa450edef68
* FailoverUpdates.h is no longer in the qpid messaging dir (from r943975); ↵Stephen D. Huston2010-05-171-1/+0
| | | | | | remove it from the src list. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945223 13f79535-47bb-0310-9956-ffa450edef68