From: Joshua Colp Date: Thu, 14 Sep 2017 12:54:40 +0000 (+0000) Subject: tcptls: Change error message to debug. X-Git-Tag: 15.1.0-rc1~70^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7fa11842d8b886b7c9b9616c977024a86144390a;p=thirdparty%2Fasterisk.git tcptls: Change error message to debug. The Websocket implementation will steal the underlying stream of TCP/TLS sessions. This results in an error message being output about a stream not being present when in reality this is actually fine. This change moves it to a debug message instead. Change-Id: I66cc639080b4b4599beadb4faa7d313f2721d094 --- diff --git a/main/tcptls.c b/main/tcptls.c index 85859a3435..ebe86f3e00 100644 --- a/main/tcptls.c +++ b/main/tcptls.c @@ -777,7 +777,7 @@ void ast_tcptls_close_session_file(struct ast_tcptls_session_instance *tcptls_se ast_iostream_close(tcptls_session->stream); tcptls_session->stream = NULL; } else { - ast_log(LOG_ERROR, "ast_tcptls_close_session_file invoked on session instance without file or file descriptor\n"); + ast_debug(1, "ast_tcptls_close_session_file invoked on session instance without file or file descriptor\n"); } }