[asterisk-commits] tcptls: Change error message to debug. (asterisk[15.0])

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Sep 14 12:11:52 CDT 2017


Joshua Colp has submitted this change and it was merged. ( https://gerrit.asterisk.org/6499 )

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(-)

Approvals:
  Sean Bright: Looks good to me, but someone else must approve
  Matthew Fredrickson: Looks good to me, approved
  Joshua Colp: Approved for Submit



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/6499
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 15.0
Gerrit-MessageType: merged
Gerrit-Change-Id: I66cc639080b4b4599beadb4faa7d313f2721d094
Gerrit-Change-Number: 6499
Gerrit-PatchSet: 1
Gerrit-Owner: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Matthew Fredrickson <creslin at digium.com>
Gerrit-Reviewer: Sean Bright <sean.bright at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-commits/attachments/20170914/92c1257f/attachment-0001.html>


More information about the asterisk-commits mailing list