summaryrefslogtreecommitdiff
path: root/qpid/cpp
Commit message (Collapse)AuthorAgeFilesLines
* QPID-5422: DTX test failure, and some tidying up of code in JournalImpl.cpp/hKim van der Riet2013-12-2018-303/+407
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1552772 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5431: Qpid c++ client hangs / crashes during reception failover in HA ↵Alan Conway2013-12-204-32/+53
| | | | | | | | | | | | | | | environment (mutual recursion) Bug in AMQP 1.0 retry code caused an infinite recursion when failing over. The recursion was in messaging::amqp::ConnectionContext, where the following recursive cycle could occur: check()->autoconnect()->tryConnect(Url)->tryConnect(Address)->wait()->check()->... Re-organized the code to avoid the recursion, specifically avoid calling check() in tryConnect(Address). A disconnect detected in tryConnect results in continuing the retry rather than calling autoconnect again. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1552698 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5440: don't remove alternate-exchange from topic's management ↵Gordon Sim2013-12-201-4/+4
| | | | | | properties (just from queue arguments) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1552669 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Added ostream operator for qpid::Messaging::MessageAlan Conway2013-12-205-12/+86
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1552476 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5435: use the setContentObject() method to set string content (i.e. ↵Gordon Sim2013-12-191-2/+2
| | | | | | assume it is utf8) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1552401 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5434: send timestamps with correct typecodeGordon Sim2013-12-193-2/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1552400 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5430: HA primary broker does not go active if there are no replicated ↵Alan Conway2013-12-182-2/+8
| | | | | | | | | | queues. Primary::opened was not checking if the primary was ready after a knonw backup reconnected, only when a replicated queue became ready. Thus if there were no replicated queues the primary never became ready. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1552025 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5255: Add missing licenses in qpid/cpp tree.Alan Conway2013-12-173-4/+63
| | | | | | | | | | Added licenses to: qpid/cpp/src/qmf2.pc.in qpid/cpp/src/qpid.linkmap qpid/cpp/src/qpid.pc.in git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1551620 13f79535-47bb-0310-9956-ffa450edef68
* NO_JIRA: Roll back change to CMakeLists.txt in which a test example was ↵Kim van der Riet2013-12-171-4/+0
| | | | | | added which is not part of the build. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1551560 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5425: TPL fails with JERR_JNLF_FILEOFFSOVFLKim van der Riet2013-12-164-7/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1551361 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix compilation error, reference cannot be declared mutable.Alan Conway2013-12-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1551330 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Added licensing prologs to the Perl MakefileDarryl L. Pierce2013-12-161-0/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1551313 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Added licensing prologs to the Ruby feature files and gemspecDarryl L. Pierce2013-12-1612-2/+208
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1551312 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Add missing apache copyright licence text.Alan Conway2013-12-1629-131/+783
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1551304 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Add ASF license statements to dotnet binding solution and config files.Charles E. Rolke2013-12-1617-0/+312
| | | | | | | Reported by RAT on qpid-0.26-rc1 Generated at: 2013-12-15T18:48:44+00:00 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1551262 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5421: Restore windows fix that got reverted on r1550819Charles E. Rolke2013-12-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1551256 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5421: Refactor: clean up QueueObservers - fix CMakelists.txtAlan Conway2013-12-161-1/+0
| | | | | | Fix error from r1550818 - didn't remove QueueSnapshots.h from CMakeLists.h. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1551210 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5421: HA replication error in stand-alone replicationAlan Conway2013-12-1313-158/+89
| | | | | | | | | | | | | | | | | There were replication errors because with stand-alone replication an IdSetter was not set on the original queue until queue replication was set up. Any messages on the queue *before* replication was setup had 0 replication IDs. When one of those messages was dequeued on the source queue, an incorrect message was dequeued on the replica queue. The fix is to add an IdSetter to every queue when replication is enabled. The unit test ha_tests.ReplicationTests.test_standalone_queue_replica has been updated to test for this issue. This commit also has some general tidy-up work around IdSetter and QueueSnapshot. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1550819 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5421: Refactor: clean up QueueObservers.Alan Conway2013-12-1313-116/+138
| | | | | | | | | | Refactor of queue observers to use the broker::Observers base class. Simplifies Queue code and makes it more consistent with other observers (BrokerObservers, ConnectionObservers.) Modified Observers base class to allow identical locking behaviour to previous impementation. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1550818 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Expanded the HA overview writeup, integrated with doxygen docs.Alan Conway2013-12-123-80/+230
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1550507 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5416: added missing export for method now used in amqp 1.0 pluginGordon Sim2013-12-111-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1550190 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5416: esure message publisher is setGordon Sim2013-12-101-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1549993 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5404: HA broker message duplication when deleting a queue with an ↵Alan Conway2013-12-109-97/+89
| | | | | | | | | | | | | | | alt-exchange The old code ran auto-delete on the backup on disconnect. This reroutes messages onto the alt queue with incorrect replication IDs from the original queue, and then replicates duplicate rerouted messages from the primary. The solution is to process auto deletes on the new primary and let them replicate to the backups. - Move all auto-delete logic into QueueReplicator - Primary process auto-delete on QueueReplicator as part of promotion. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1549844 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove useless commentsAndrew Stitcher2013-12-091-6/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1549638 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5398: Fix cut 'n paste error in sys/posix/Path.cppAlan Conway2013-12-061-5/+1
| | | | | | Posix Path::IsAbsolute() function was checking for windows-style paths. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1548596 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5398: Minor improvement to log message.Alan Conway2013-12-051-1/+1
| | | | | | Fix typo in previous commit. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1548322 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5398: Minor improvement to log message.Alan Conway2013-12-051-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1548317 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5398: qpidd --acl-file does not work with a drive-prefixed path on windows.Alan Conway2013-12-055-5/+198
| | | | | | | | | | On windows, acl-file was not recognizing drive-prefixed paths (e.g. c:\foo) as absolute and was trying to interpret them relative to the brokers data-dir. This commit fixes the problem and adds a general-purpose Path class that can be a collection point for any other path-related portability problems that come up. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1548279 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3981: Windows C++ Broker fails ACL self testsAlan Conway2013-12-051-1/+11
| | | | | | | | | | | | Most failures caused by a bug in NullAuthenticator, it was not adding the default realm to user IDs that didn't already have a realm. This fixes 20 of the 23 failures for this test, 3 tests are still failing: 16: acl.ACLTests.test_connection_limits_by_ip_address ....................... fail 16: acl.ACLTests.test_connection_limits_cli_sets_all ........................ fail 16: acl.ACLTests.test_queue_per_user_quota .................................. fail git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1548268 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5396: map confusing registry GUI name to its real name: Personal -> MyClifford Allan Jansen2013-12-051-3/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1548180 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5395: use newly added proton tracer callback to unify loggingGordon Sim2013-12-056-2/+67
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1548177 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5375: make Windows client certs more like their Posix counterpart, no ↵Clifford Allan Jansen2013-12-041-37/+87
| | | | | | longer restricted to SASL EXTERNAL git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1547958 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5356: stop default search for client certificate when not specifiedClifford Allan Jansen2013-12-043-5/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1547951 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5394: Fix the binding dependencies so that we no longer keep on ↵Andrew Stitcher2013-12-046-18/+41
| | | | | | rebuilding the python swig bindings unnecessarily git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1547933 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5388: Segmentation fault when recovering empty queue. The recovery ↵Kim van der Riet2013-12-047-19/+53
| | | | | | could not handle uninitialized journal files, which exist prior to the first write of a record to the journal. The recovery now correctly utilizes the uninitialized file. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1547921 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5387: Segmentation fault when deleting queue. Incorrect order of ↵Kim van der Riet2013-12-032-2/+1
| | | | | | operations on LinearFileController resulted in all JournalFile objects being deleted before they could be recycled to the EFP. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1547641 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5358: Checksum not implemented in record tail, not checked during read. ↵Kim van der Riet2013-12-0313-50/+211
| | | | | | Implemented the Alder-32 algorithm to check every record from the start of the header to the start of the record tail. Upon recovery, the recovered record checksum is compared to the record tail checksum. This should detect the condition where a multi-page record may have its header and tail written, but one or more of its inbetween pages may not be fully written. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1547601 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5383, QPID-5384: added some test cases for assertionsGordon Sim2013-12-031-2/+35
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1547497 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5384: special asserting logic for autodeleteGordon Sim2013-12-035-9/+35
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1547496 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5383: retain encoding information in queue propertiesGordon Sim2013-12-031-2/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1547495 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5379: missing export directive for windowsGordon Sim2013-12-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1546952 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5379: fix security layer for 1.0 clientGordon Sim2013-11-296-3/+50
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1546628 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5378: track outstanding fetches and for receivers with zero capaicty, ↵Gordon Sim2013-11-282-1/+12
| | | | | | reissue credit correctly on reconnect git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1546415 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix use of intrusive_ptr.reset, not available on RHEL5.Alan Conway2013-11-281-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1546398 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5369: add deprecation warnings to the QMF2 wrapped modulesKenneth Anthony Giusti2013-11-262-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1545776 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5357 "Linearstore: Empty file recycling not functional": Fix which ↵Kim van der Riet2013-11-263-4/+14
| | | | | | implements the empty file check for trailing empty files. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1545563 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5369: Issue compile-time error if deprecated QMF Agent or Console API ↵Kenneth Anthony Giusti2013-11-2522-0/+94
| | | | | | used by applications git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1545368 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: add a bit more visible logging to indicate progress in reconnect ↵Gordon Sim2013-11-221-0/+2
| | | | | | attempt git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1544602 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5363: Add locks to prevent race condition in Amqp 1.0 transport handler.Charles E. Rolke2013-11-202-16/+35
| | | | | | | | | Windows clients occasionally crash on exit handling simultaneous eof() and close() on separate threads. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1543935 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: HA remove use of make_shared, not available in RHEL5 boost.Alan Conway2013-11-201-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1543922 13f79535-47bb-0310-9956-ffa450edef68