summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* I am reverting a change made by martin on rev 942098 (QPID-2586) as the 0-10 ↵Rajith Muditha Attapattu2010-05-141-1/+1
| | | | | | | | | | code path relies on that for failover. Currently due to the above commit all failover related tests are failing. However we will try to address the issue mentioned in QPID-2586. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944457 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: separate out the messaging API into its own libraryGordon Sim2010-05-147-36/+65
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944357 13f79535-47bb-0310-9956-ffa450edef68
* Skip cluster part of ssl_test if cluster not enabled.Alan Conway2010-05-141-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944356 13f79535-47bb-0310-9956-ffa450edef68
* This reverts r736810. In my testing (admittedly limited) I did not observe ↵Gordon Sim2010-05-142-33/+10
| | | | | | any benefot from the optimisation. It causes a bug where concurrent calls to the non-const getBody() method can result in the encodedSize() method returning 0. This has implications e.g. for store modules where the message size may be incorrectly reported resulting in buffer overruns. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944329 13f79535-47bb-0310-9956-ffa450edef68
* Removed references to non-existent test run_cluster_authentication_soakAlan Conway2010-05-141-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944288 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2589Ted Ross2010-05-149-0/+431
| | | | | | | | 1) Added map-message examples 2) Added license text to example sources git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944270 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2589 - Patch from Chuck Rolke that exposes structured message content ↵Ted Ross2010-05-142-1/+528
| | | | | | (map/list). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944263 13f79535-47bb-0310-9956-ffa450edef68
* Initial multi-thread unit test for messaging API.Alan Conway2010-05-148-10/+132
| | | | | | | - added Receiver::isClosed() to test for local close. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944261 13f79535-47bb-0310-9956-ffa450edef68
* Move helper classes/functions from MessagingSessionTests.cpp to ↵Alan Conway2010-05-142-170/+216
| | | | | | MessagingFixture.h for sharing with other tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944260 13f79535-47bb-0310-9956-ffa450edef68
* Add missing "public" qualifier to exception inheritance.Alan Conway2010-05-141-15/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944259 13f79535-47bb-0310-9956-ffa450edef68
* Cluster + SecurityMichael Goulish2010-05-1420-32/+568
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ----------------------------------- * initial observation of a problem was a 2% failure rate in perftests of 20,000 messages against a cluster with security enabled. Problem was occasional receit of encrypted frames before the security codec had been enabled. This is fixed with locking in cluster code (no new locks in broker code) and a callback that is fired by broker::ConnectionHandler::Handler to tell the cluster code when the opening handshake has finished. This was never a problem in the non-clustered broker before because everything happened in a single thread. * the brokers that "shadow" the connection must not have null authenticators rather than real ones, so that they go through all the motions but don't do anythig. Only the directly-connected broker can perform the security handshake. * once the directly-connected broker receives the real user ID from its callback, it mcasts that ID to all other brokers. Otherwise the shadowing brokers will al think that the user ID is "anonymous". Check this by doing a substantial perftest, and using qpid-stat -c localhost:PORT to confirm that the brokers all have the same userID for the same connection. * the user ID, negotiated during the Sasl security startup, is communicated from the directly connected broker to all other cluster brokers. * If security is *not* being used, then this code should *not* tell the brokers anything about the userID -- or it will step on the value that is being set by other code pathways. * test program at cpp/src/tests/cluster_authentication_soak is not yet fully automated -- run it with something like "sudo ./cluster_authentication_soak 500" git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944158 13f79535-47bb-0310-9956-ffa450edef68
* Removing the examples under this folder as they are not written against a ↵Rajith Muditha Attapattu2010-05-1414-1164/+0
| | | | | | | | | proper API. As of now we only support the JMS API. Therefore we shouldn't carry any other examples as it can create confusion. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944086 13f79535-47bb-0310-9956-ffa450edef68
* There are a number of test failures under the various cpp test profiles.Rajith Muditha Attapattu2010-05-141-0/+15
| | | | | | | | I am temporarily excluding them to keep the tests green, to ensure we don't miss any new failures. Meanwhile I work on the test failures to figure out cause. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944064 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2588: Ensure we do not make calls on store for a given queue once it ↵Gordon Sim2010-05-134-2/+13
| | | | | | has been destroyed git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944016 13f79535-47bb-0310-9956-ffa450edef68
* Moved FailoverUpdates to qpid::messaging namespace.Alan Conway2010-05-136-31/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943975 13f79535-47bb-0310-9956-ffa450edef68
* New API clients failover in a cluster with SSL connections.Alan Conway2010-05-134-38/+83
| | | | | | | | - Fix setting of reconnect URLs on messaging::Connection. - Added SSL failover test. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943974 13f79535-47bb-0310-9956-ffa450edef68
* Fix deadlocks & thread safety in new API classes.Alan Conway2010-05-1310-64/+115
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943973 13f79535-47bb-0310-9956-ffa450edef68
* Fix typo in namespace close commentsStephen D. Huston2010-05-131-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943904 13f79535-47bb-0310-9956-ffa450edef68
* Transfer TCP code changes to RDMA codeAndrew Stitcher2010-05-131-6/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943772 13f79535-47bb-0310-9956-ffa450edef68
* Rearrange RDMA wrapper class code so that the interface and implementationAndrew Stitcher2010-05-137-384/+463
| | | | | | are better separated. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943771 13f79535-47bb-0310-9956-ffa450edef68
* Allow rdma_disconnect() to fail with EINVAL as it appearsAndrew Stitcher2010-05-132-2/+12
| | | | | | | | | to be necessary to call rdma_disconnect() after receiving a disconnection event in Infiniband, but it's not allowed on iWarp as the disconnect event has already disconnected the queue pair. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943770 13f79535-47bb-0310-9956-ffa450edef68
* Added callouts for C++ and Python examples. Attempted formatting for WCF ↵Jonathan Robie2010-05-121-300/+248
| | | | | | examples (not yet there ;-> ) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943709 13f79535-47bb-0310-9956-ffa450edef68
* Added WCF section by applying Cliff Jansen's patch (see ↵Jonathan Robie2010-05-121-16/+469
| | | | | | | | | https://issues.apache.org/jira/browse/QPID-2595). Fixed maps tables by using Variant.h types for integer types in C++. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943660 13f79535-47bb-0310-9956-ffa450edef68
* Remove incorrect optimization in Logger.Alan Conway2010-05-122-4/+3
| | | | | | Use of read-write lock causes a race in log. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943641 13f79535-47bb-0310-9956-ffa450edef68
* Added a few more test cases for acl file format.Rajith Muditha Attapattu2010-05-121-3/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943624 13f79535-47bb-0310-9956-ffa450edef68
* Two fixes for qmf.console:Ted Ross2010-05-121-27/+45
| | | | | | | | 1) use proper binding-keys for filtering QMFv2 data indications 2) fix the problem where stat-updates were being lumped in with property updates for V1 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943589 13f79535-47bb-0310-9956-ffa450edef68
* Fixes to new API impl to support failover.Alan Conway2010-05-123-16/+20
| | | | | | | | | - client/SslConnector.cpp: throw ConnectionException for errors during connection. - client/amqp0_10/ConnectionImpl.cpp: translate unknown exceptions to ConnectionError. - client/amqp0_10/FailoverUpdates.cpp: interrupt receiver by closing session in dtor. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943489 13f79535-47bb-0310-9956-ffa450edef68
* Delay generating URL in cluster till global constructors to handle ↵Alan Conway2010-05-122-11/+14
| | | | | | multi-protocol URLs. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943488 13f79535-47bb-0310-9956-ffa450edef68
* This commit contains a fix for QPID-2600Rajith Muditha Attapattu2010-05-123-61/+72
| | | | | | | | | | Added a test case to check if all allowed chars are accepted and the rest is rejected. Added a check for empty continuation lines. Improved error reporting by adding a line number. Removed test_allowed_chars_for_username method from acl.py as the check for group name will flag the "@" char, making this test case redundent. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943351 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2599Rajith Muditha Attapattu2010-05-1111-499/+0
| | | | | | | Removing all log4j xml and property files from the code base, except for the ones in test-profile folder and broker/etc folder. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943339 13f79535-47bb-0310-9956-ffa450edef68
* Commiting a patch by Emmanuel Bourg attached to QPID-2594Rajith Muditha Attapattu2010-05-1117-47/+81
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943200 13f79535-47bb-0310-9956-ffa450edef68
* Added missing EXTERNs for WindowsTed Ross2010-05-111-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943164 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Fix failover updates to set correct option name; clear list valued ↵Gordon Sim2010-05-112-1/+3
| | | | | | option on setting it rather than merely appending to it. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943160 13f79535-47bb-0310-9956-ffa450edef68
* Support for multiple protocols in qpid::Url.Alan Conway2010-05-1127-212/+181
| | | | | | | | | | - simplified qpid::Address to hold (protocol,host,port) triples. - protocol plugins call Url:addProtocol to add tags to Url parser. - use Address::protocol when establishing connections. - ssl_test: tests using URL to connect. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943130 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Add default constructor for Connection; add option to set url on ↵Gordon Sim2010-05-113-5/+18
| | | | | | existing connection. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943071 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Fix bug preventing re-establishment of credit on reconnectGordon Sim2010-05-111-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943036 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2589 - Applied patch from Chuck Rolke.Ted Ross2010-05-1029-0/+2451
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@942892 13f79535-47bb-0310-9956-ffa450edef68
* qmf: bugfix - remove parse of non-present supertype fieldKenneth Anthony Giusti2010-05-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@942861 13f79535-47bb-0310-9956-ffa450edef68
* qmf: add class accessors for event schema - parity with class schemaKenneth Anthony Giusti2010-05-102-0/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@942777 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-2559Rajith Muditha Attapattu2010-05-081-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@942293 13f79535-47bb-0310-9956-ffa450edef68
* Added sizing the replay buffer.Jonathan Robie2010-05-071-9/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@942258 13f79535-47bb-0310-9956-ffa450edef68
* Added description to avoid an empty cell.Jonathan Robie2010-05-071-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@942212 13f79535-47bb-0310-9956-ffa450edef68
* Added note that mentions our JMS maps can nest.Jonathan Robie2010-05-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@942208 13f79535-47bb-0310-9956-ffa450edef68
* Get the type names right ...Jonathan Robie2010-05-071-10/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@942193 13f79535-47bb-0310-9956-ffa450edef68
* Added a timeout when checking for broker start.Rajith Muditha Attapattu2010-05-071-1/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@942187 13f79535-47bb-0310-9956-ffa450edef68
* One more fix in types tableJonathan Robie2010-05-071-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@942183 13f79535-47bb-0310-9956-ffa450edef68
* Changes from today's discussion on map type tables.Jonathan Robie2010-05-071-146/+152
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@942181 13f79535-47bb-0310-9956-ffa450edef68
* Skip cluster_python_tests if cluster services are not running.Alan Conway2010-05-071-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@942141 13f79535-47bb-0310-9956-ffa450edef68
* Increase retry timeout, previous value was causing occasional invald test ↵Alan Conway2010-05-071-1/+1
| | | | | | failures. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@942132 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1447 : Forgot git can't delete empty foldersMartin Ritchie2010-05-070-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@942127 13f79535-47bb-0310-9956-ffa450edef68