diff options
author | Joshua Colp <jcolp@digium.com> | 2008-04-02 15:26:51 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2008-04-02 15:26:51 +0000 |
commit | b5cccfe1a408c2e5ba59404657afebfe0469f00c (patch) | |
tree | 6688f1090236eda0bc8ee31e3aed51184cc99355 | |
parent | 1eb31edde25a46dc0c67899073810b70c913731f (diff) |
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
-rw-r--r-- | channels/chan_sip.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index d4020b0e4..bc2ba5527 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -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) { |