You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gm...@apache.org on 2020/12/08 17:45:32 UTC

[qpid-dispatch] branch dev-protocol-adaptors-2 updated: DISPATCH-1874 - Additional fix, removed bad code

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

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


The following commit(s) were added to refs/heads/dev-protocol-adaptors-2 by this push:
     new 2e11c85  DISPATCH-1874 - Additional fix, removed bad code
2e11c85 is described below

commit 2e11c85aaf456f139018372fc1bbca35f7d85a6e
Author: Ganesh Murthy <gm...@apache.org>
AuthorDate: Tue Dec 8 12:44:46 2020 -0500

    DISPATCH-1874 - Additional fix, removed bad code
---
 src/adaptors/http2/http2_adaptor.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/adaptors/http2/http2_adaptor.c b/src/adaptors/http2/http2_adaptor.c
index 22a65bd..161be80 100644
--- a/src/adaptors/http2/http2_adaptor.c
+++ b/src/adaptors/http2/http2_adaptor.c
@@ -395,10 +395,6 @@ static qdr_http2_stream_data_t *create_http2_stream_data(qdr_http2_session_data_
     qd_message_set_stream_annotation(stream_data->message, true);
     stream_data->session_data = session_data;
     stream_data->app_properties = qd_compose(QD_PERFORMATIVE_APPLICATION_PROPERTIES, 0);
-    if (!stream_data->app_properties) {
-        qd_compose_free(stream_data->app_properties);
-        return 0;
-    }
     stream_data->status = QD_STREAM_OPEN;
     stream_data->start = qd_timer_now();
     qd_log(http2_adaptor->protocol_log_source, QD_LOG_TRACE, "[C%"PRIu64"][S%"PRId32"] Creating new stream_data->app_properties=QD_PERFORMATIVE_APPLICATION_PROPERTIES", session_data->conn->conn_id, stream_id);


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