mirror of
https://github.com/asterisk/asterisk.git
synced 2026-06-15 12:17:36 +00:00
Since the SIP request structure gets reused multiple times with TCP handling we have to clear the debug state or else we will keep spitting out debug even after it has been turned off.
(closes issue #12169) Reported by: pj Patches: 12169-debugoff-2.diff uploaded by qwell (license 4) Tested by: pj git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@112431 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2190,6 +2190,7 @@ static void *_sip_tcp_helper_thread(struct sip_pvt *pvt, struct ast_tcptls_sessi
|
||||
ast_str_reset(reqcpy.data);
|
||||
req.len = 0;
|
||||
req.ignore = 0;
|
||||
req.debug = 0;
|
||||
|
||||
req.socket.fd = ser->fd;
|
||||
if (ser->ssl) {
|
||||
|
||||
Reference in New Issue
Block a user