[asterisk-commits] russell: trunk r60114 - in /trunk: ./ channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Apr 4 09:50:31 MST 2007


Author: russell
Date: Wed Apr  4 11:50:31 2007
New Revision: 60114

URL: http://svn.digium.com/view/asterisk?view=rev&rev=60114
Log:
Merged revisions 60112 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r60112 | russell | 2007-04-04 11:49:45 -0500 (Wed, 04 Apr 2007) | 3 lines

Add a Content-Length of 0 to the response built by transmit_response_with_unsupported().
(issue #9454, reported by makoto, fixed by me)

........

Modified:
    trunk/   (props changed)
    trunk/channels/chan_sip.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=60114&r1=60113&r2=60114
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Wed Apr  4 11:50:31 2007
@@ -6223,6 +6223,7 @@
 	respprep(&resp, p, msg, req);
 	append_date(&resp);
 	add_header(&resp, "Unsupported", unsupported);
+	add_header_contentLength(&resp, 0);
 	return send_response(p, &resp, XMIT_UNRELIABLE, 0);
 }
 



More information about the asterisk-commits mailing list