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
This commit is contained in:
Joshua Colp
2017-09-14 12:54:40 +00:00
parent ec940f4fec
commit 01f2220bec

View File

@@ -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");
}
}