[asterisk-commits] file: trunk r112431 - /trunk/channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Apr 2 10:26:52 CDT 2008
Author: file
Date: Wed Apr 2 10:26:51 2008
New Revision: 112431
URL: http://svn.digium.com/view/asterisk?view=rev&rev=112431
Log:
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
Modified:
trunk/channels/chan_sip.c
Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=112431&r1=112430&r2=112431
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Wed Apr 2 10:26:51 2008
@@ -2190,6 +2190,7 @@
ast_str_reset(reqcpy.data);
req.len = 0;
req.ignore = 0;
+ req.debug = 0;
req.socket.fd = ser->fd;
if (ser->ssl) {
More information about the asterisk-commits
mailing list