summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
Commit message (Collapse)AuthorAgeFilesLines
* QPID-5741: No longer warn when building Qpid with Proton 0.7Andrew Stitcher2014-05-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.28@1591983 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5714: In ha_tests, skip if the target test code is missingJustin Ross2014-04-241-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.28@1589856 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5663: [C++ Messaging] Windows AMQP 1.0 map_receiver fails - merge fix ↵Charles E. Rolke2014-04-221-1/+2
| | | | | | to 0.28 branch git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.28@1589249 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5714: Skip python tests if test code is missingJustin Ross2014-04-222-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.28@1589068 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5663: [C++ Messaging] Windows AMQP 1.0 map_receiver fails - merge fix ↵Charles E. Rolke2014-04-211-1/+1
| | | | | | to 0.28 branch git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.28@1588994 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5714: Revert change that I intended for trunk (it still needs approval)Justin Ross2014-04-212-6/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.28@1588879 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5714: Skip python tests if test code is missingJustin Ross2014-04-212-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.28@1588875 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5666: HA fails with resource-limit-exceeded: Exceeded replicated queue ↵Alan Conway2014-04-187-26/+55
| | | | | | | | | | | | limit This is regression introduced in r1561206: CommitDate: Fri Jan 24 21:54:59 2014 +0000 QPID-5513: HA backup fails if number of replicated queues exceeds number of channels. Fixed by the current commit. PrimaryQueueLimits was not taking account of queues already on the broker prior to promotion. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.28@1588471 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5694: Windows C++ broker SSL: do not send non-existent negotiation ↵Clifford Jansen2014-04-151-1/+1
| | | | | | token on shutdown (0.28 branch) git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.28@1587630 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5669: spurious error on connection close (Windows C++): SSL negotiation ↵Clifford Jansen2014-04-153-42/+67
| | | | | | failed (0.28 branch) git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.28@1587629 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5678 [linearstore 0.28] segfault in ↵Kim van der Riet2014-04-091-0/+1
| | | | | | qpid::linearstore::journal::jdir::clear_dir when declaring durable queue git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.28@1586009 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5654 [linearstore] Set default cmake build to exclude linearstore on ↵Kim van der Riet2014-04-091-2/+5
| | | | | | 0.28 release git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.28@1585989 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5659: Fixes to compile with C++11 (needed to compile with clang on ↵Andrew Stitcher2014-04-0314-19/+26
| | | | | | | | | | | FreeBSD 10) - shared_ptr no longer has a default conversion to bool. - Change in default destructor semantics: by default destructors are now not allowed to throw exceptions. - stringstream no longer has a default conversion to string. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.28@1584361 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5658: Small changes to compile with clang's libc++Andrew Stitcher2014-04-034-2/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.28@1584360 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5648: restore processing the ConnectionSettings protocol, lost ↵Clifford Allan Jansen2014-04-022-5/+9
| | | | | | inadvertently in QPID-5568 for 0.28 branch git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.28@1584128 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5641: [legacystore] Valgrind reports memory leaks on older store testsKim van der Riet2014-03-275-1727/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.28@1582324 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5586: Introduce SessionClosed exceptionAndrew Stitcher2014-03-193-1/+5
| | | | | | | - use it for qpid::messaging::Session::nextReceiver to ensure that closing a connection/session can be distinguished. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1579367 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5362: No store tools exist for examining the journals - Bugfix and ↵Kim van der Riet2014-03-185-124/+142
| | | | | | reorganization of qls python modules. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1578899 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5631: Adjust for changes in Proton detection files exported by proton.Andrew Stitcher2014-03-162-62/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1577982 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5632: Added cmake config files to the install areaAndrew Stitcher2014-03-163-1/+81
| | | | | | For use by other projects using cmake that want to simply detect qpid libraries git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1577981 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5630: Windows C++ broker never loads modules using --module-dirAndrew Stitcher2014-03-141-1/+3
| | | | | | - Need to use full path to load modules instead of just the filename. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1577742 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5623: [C++ Messaging Client - amqp1.0] throws qpid::Exception instead ↵Charles E. Rolke2014-03-131-1/+7
| | | | | | | | | | of qpid::types::Exception Intercept the trap and rethrow in proper format. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1577322 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5621: [C++ broker] userId is not passed to ACL when DIGEST-MD5 is used ↵Pavel Moravec2014-03-111-21/+21
| | | | | | while creating link git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1576248 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5613: Self test broker start command fails without --interface option.Charles E. Rolke2014-03-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1575443 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5608: [amqp1.0] delete-on-close: typo in r1575225Charles E. Rolke2014-03-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1575441 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5608: [amqp1.0] delete-on-close policy do not work for producers to ↵Pavel Moravec2014-03-073-7/+16
| | | | | | exchanges git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1575225 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5607: [linearstore] Recovery of store results in jexception 0x010b ↵Kim van der Riet2014-03-064-35/+83
| | | | | | LinearFileController::getCurrentSerial() threw JERR_NULL git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1575009 13f79535-47bb-0310-9956-ffa450edef68
* Revert "NO-JIRA: CMakelists.txt check that ../python exists before building it."Alan Conway2014-03-051-6/+16
| | | | | | | | | | | | | | | | This reverts most of commit r1574138. The changes were intended to simplify handling of setup.py by letting it detect when things were out of date, but even when there are no changes setup.py does touch some files: changing mode of /home/andrew/Work/qpid/bld-ninja/src/tests/python/commands/qpid-python-trunning install_egg_info removing /home/andrew/Work/qpid/bld-ninja/src/tests/python/qpid_python-0.27-py2.7.egg-info writing /home/andrew/Work/qpid/bld-ninja/src/tests/python/qpid_python-0.27-py2.7.egg-info This commit restores the previous logic that avoids running setup.py if not needed but retains the if (EXISTS ${python_src}) check to avoid all this logic if there is no python source directory available. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1574656 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5603: Broker recovery fails with JERR_JREC_BADRECTAIL when record tail ↵Kim van der Riet2014-03-051-1/+1
| | | | | | is partly or fully separated from rest of record by file boundary git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1574513 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5599: C++ Broker silently ignores --max-connections option when no ACL ↵Charles E. Rolke2014-03-051-2/+2
| | | | | | | | | | | file is loaded Subsequent reloads of the ACL file did not reflect that the rule set in force was created by a user. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1574490 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5599: C++ Broker silently ignores --max-connections option when no ACL ↵Charles E. Rolke2014-03-056-17/+23
| | | | | | | | | | | | | | | | | | | | | | | | | file is loaded Simply installing a null and permissive rule file trips up the 'create link' security check. The security check from https://issues.apache.org/jira/browse/QPID-4631 reasons that if authentication is enabled and no ACL rule file is specified then interbroker links are denied. The check for 'ACL rule file is loaded' is simply the existence of the ACL object. That check is voided by always having an ACL object regardless of whether the ACL rule file was specified or not. One fix considered was adding an ACL rule "acl deny-log all create link" to the formerly null rule set when no ACL file is specified. This solution has too much complexity in several places and is too hard. The fix implemented here is a boolean flag indicating if the ACL rule set in force is specified by the user or not. Then the security check tests that the acl exists (always true) and that the rule set is specified by the user. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1574291 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5599: C++ Broker silently ignores --max-connections option when no ACL ↵Charles E. Rolke2014-03-041-4/+4
| | | | | | | | | | | file is loaded Temporarily revert creation of ACL with null rule set as it subverts the CREATE LINK security check and self test. Real fix coming shortly. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1574219 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5599: C++ Broker silently ignores --max-connections option when no ACL ↵Charles E. Rolke2014-03-043-12/+41
| | | | | | | | | | | file is loaded. Always create an ACL object. If no ACL file is specified then create a permissive, empty ACL rule set. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1574208 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: CMakelists.txt check that ../python exists before building it.Alan Conway2014-03-041-20/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1574138 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5597: [C++ client] Topic subscriptions should not ignore auto-delete ↵Pavel Moravec2014-03-041-1/+3
| | | | | | x-declare flag git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1574119 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5594: [amqp1.0] missing first-acquirer property support in C++ brokerPavel Moravec2014-03-033-5/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1573546 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5587: QMF to track queue owner (userId)Pavel Moravec2014-02-283-3/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1572963 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix Coverty "Uncaught exception" errors in test clients.Alan Conway2014-02-262-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1572061 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5561: QPID-5565: Broker->ACL module improvementsPavel Moravec2014-02-264-16/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1572059 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5584: use more specific exception types where appropriateGordon Sim2014-02-251-2/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1571688 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix compile error on RHEL5 in qpid-pingAlan Conway2014-02-221-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1570775 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5568: HA C++ qpid::messaging AMQP 1.0 client failover logging is not clearAlan Conway2014-02-207-150/+183
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The qpid::messaging AMQP 1.0 protocol logging did not give clear information about reconnection during failover. This patch simplifies the reconnect logic by collapsing all known addresses from broker URL and reconnect URLs into a single URL with no duplicates. It rationalizes the info and notice logging as follows: # Initial connection with multiple addresses, info logs show the # full URL, each attempt to connect and the finally connected address. [Messaging] info Starting connection to amqp:tcp:20.0.10.33:5672,tcp:20.0.10.34:5672,tcp:20.0.10.35:5672 [Messaging] info Connecting to tcp:20.0.10.33:5672 [Messaging] info Failed to connect to tcp:20.0.10.33:5672 [Messaging] info Connecting to tcp:20.0.10.34:5672 [Messaging] info Failed to connect to tcp:20.0.10.34:5672 [Messaging] info Connecting to tcp:20.0.10.35:5672 [Messaging] info Connected to tcp:20.0.10.35:5672 # Re-connection due to a failure. notice logs for the start of reconnection (with full URL) # and eventual sucess (with individual address). info logs for individual connection attempts. [Messaging] notice Auto-reconnecting to amqp:tcp:20.0.10.33:5672,tcp:20.0.10.34:5672,tcp:20.0.10.35:5672 [Messaging] info Connecting to tcp:20.0.10.33:5672 [Messaging] info Failed to connect to tcp:20.0.10.33:5672 .... [Messaging] info Connected to tcp:20.0.10.33:5672 [Messaging] notice Auto-reconnected to amqp:tcp:20.0.10.33:5672 The idea here is that there are no logs by default (info is not on by default) for "normal" behavior, but failover does get a (short) notice log by default. By turning on info logs you can follow the detailed blow-by-blow of failover without getting drowned in the detail of debug logs. Note that final failure to connect is signalled to the application via an exception. There was not previously any log message for that and I didn't add one. Additional changes: updated qpid-ping test client to use the messaging library. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1570231 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5549: windows ssl over AMQP 1.0Clifford Allan Jansen2014-02-193-4/+143
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1569916 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix build error in ha_test_max_queues for release builds.Alan Conway2014-02-181-1/+4
| | | | | | argc was only being tested in an assert which was compiled out for release builds. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1569400 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix windows build problem introduced by r1565431 in ↵Alan Conway2014-02-061-3/+7
| | | | | | log/Statement.cpp commit. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1565448 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Get rid of valgrind "rechable" block in logging statements.Alan Conway2014-02-063-38/+14
| | | | | | | | | Each logging statement was allocating and not freeing a string, generating a huge number of harmless but annoying "blocks are still reachable". Fixed so the strings are freed at static destructor time. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1565431 13f79535-47bb-0310-9956-ffa450edef68
* Author: Alan Conway <aconway@redhat.com>Alan Conway2014-02-062-2/+2
| | | | | | | --- log message follows this NO-JIRA: Remove use of python built-in 'next', not available before python 2.6. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1565382 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5524: ssl-cert-name connection argument processing in AMQP 1.0. cpp clientClifford Allan Jansen2014-02-064-1/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1565376 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5544: HA memory leak in backup broker after shutdown.Alan Conway2014-02-066-109/+45
| | | | | | | | The memory leaks were due to shared_ptr cycles between the QueueReplicator, Bridge and Link objects. This patch breaks the cycles using weak_ptrs in the appropriate places. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1565340 13f79535-47bb-0310-9956-ffa450edef68
* NO_JIRA: Added Apache license text to tx-text-soak.sh, updates to ↵Kim van der Riet2014-02-052-10/+33
| | | | | | linearstore ISSUES file git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1564935 13f79535-47bb-0310-9956-ffa450edef68