You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by tr...@apache.org on 2020/10/29 18:50:13 UTC

[qpid-dispatch] branch dev-protocol-adaptors-2 updated (483add8 -> 3f46bb2)

This is an automated email from the ASF dual-hosted git repository.

tross pushed a change to branch dev-protocol-adaptors-2
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git.


    from 483add8  DISPATCH-1784: allow parsing of folded headers
     new dcd773c  DISPATCH-1812 - Fixed test that fails due to log format changes.
     new 3f46bb2  DISPATCH-1742 - Fixed leak of stream_data object in reference adaptor.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/adaptors/reference_adaptor.c              | 3 +++
 tests/system_tests_topology_disposition.py.in | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


[qpid-dispatch] 01/02: DISPATCH-1812 - Fixed test that fails due to log format changes.

Posted by tr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tross pushed a commit to branch dev-protocol-adaptors-2
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git

commit dcd773cc0de969593de6d3fb7a5e0bcdf129c358
Author: Ted Ross <tr...@apache.org>
AuthorDate: Thu Oct 29 14:38:17 2020 -0400

    DISPATCH-1812 - Fixed test that fails due to log format changes.
---
 tests/system_tests_topology_disposition.py.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/system_tests_topology_disposition.py.in b/tests/system_tests_topology_disposition.py.in
index 146b986..c41a481 100644
--- a/tests/system_tests_topology_disposition.py.in
+++ b/tests/system_tests_topology_disposition.py.in
@@ -399,7 +399,7 @@ class TopologyDispositionTests ( TestCase ):
         error = None
         if self.skip [ name ] :
             self.skipTest ( "Test skipped during development." )
-        st_key = "PROTOCOL (trace) ["
+        st_key = "PROTOCOL (trace) [C"
         qc_key = "qd.conn-id\"="
         for letter in ['A', 'B', 'C', 'D']:
             log_name = ('../setUpClass/%s.log' % letter)
@@ -423,7 +423,7 @@ class TopologyDispositionTests ( TestCase ):
                             break
                         sti += 1
                         qci += 1
-                    if oopen[qci].isdigit():
+                    if error == None and oopen[qci].isdigit():
                         error = "log %s, line '%s' published conn-id is too big" % (log_name, oopen)
                 self.assertEqual(None, error)
             self.assertEqual ( None, error )


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


[qpid-dispatch] 02/02: DISPATCH-1742 - Fixed leak of stream_data object in reference adaptor.

Posted by tr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tross pushed a commit to branch dev-protocol-adaptors-2
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git

commit 3f46bb2392bb72f75ef65bd1b9d1ad98568cc08b
Author: Ted Ross <tr...@apache.org>
AuthorDate: Thu Oct 29 14:39:21 2020 -0400

    DISPATCH-1742 - Fixed leak of stream_data object in reference adaptor.
---
 src/adaptors/reference_adaptor.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/adaptors/reference_adaptor.c b/src/adaptors/reference_adaptor.c
index 84b14ba..6fb22ee 100644
--- a/src/adaptors/reference_adaptor.c
+++ b/src/adaptors/reference_adaptor.c
@@ -298,6 +298,7 @@ static uint64_t qdr_ref_deliver(void *context, qdr_link_t *link, qdr_delivery_t
 
                 qd_parse_free(footer);
                 qd_iterator_free(footer_iter);
+                qd_message_stream_data_release(stream_data);
                 break;
             }
             
@@ -510,6 +511,8 @@ static void on_stream(void *context)
         qd_compose_start_map(footer);
         qd_compose_insert_symbol(footer, "trailer");
         qd_compose_insert_string(footer, "value");
+        qd_compose_insert_symbol(footer, "second");
+        qd_compose_insert_string(footer, "value2");
         qd_compose_end_map(footer);
         depth = qd_message_extend(adaptor->streaming_message, footer);
         qd_compose_free(footer);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org