[Asterisk-code-review] tcptls: Change error message to debug. (asterisk[15])

Joshua Colp asteriskteam at digium.com
Thu Sep 14 07:55:37 CDT 2017


Joshua Colp has uploaded this change for review. ( https://gerrit.asterisk.org/6498


Change subject: tcptls: Change error message to debug.
......................................................................

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
---
M main/tcptls.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/98/6498/1

diff --git a/main/tcptls.c b/main/tcptls.c
index 85859a3..ebe86f3 100644
--- a/main/tcptls.c
+++ b/main/tcptls.c
@@ -777,7 +777,7 @@
 		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");
 	}
 }
 

-- 
To view, visit https://gerrit.asterisk.org/6498
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 15
Gerrit-MessageType: newchange
Gerrit-Change-Id: I66cc639080b4b4599beadb4faa7d313f2721d094
Gerrit-Change-Number: 6498
Gerrit-PatchSet: 1
Gerrit-Owner: Joshua Colp <jcolp at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20170914/63802470/attachment.html>


More information about the asterisk-code-review mailing list