ganeshmurthy commented on a change in pull request #1248:
URL: https://github.com/apache/qpid-dispatch/pull/1248#discussion_r658973021
##########
File path: src/adaptors/http2/http2_adaptor.c
##########
@@ -449,6 +469,17 @@ static qdr_http2_stream_data_t
*create_http2_stream_data(qdr_http2_session_data_
}
+/**
+ * This callback function is invoked when the nghttp2 library tells the
application about the error code, and error message.
+ */
+static int on_error_callback(nghttp2_session *session, int lib_error_code,
const char *msg, size_t len, void *user_data)
+{
+ qdr_http2_connection_t *conn = (qdr_http2_connection_t *)user_data;
+ qd_log(http2_adaptor->protocol_log_source, QD_LOG_TRACE, "[C%"PRIu64"]
Error generated in the on_error_callback, lib_error_code=%i, error_msg=%s",
conn->conn_id, lib_error_code, msg);
Review comment:
Changed log level to QD_LOG_ERROR
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]