[asterisk-commits] russell: branch 1.4 r60112 -
/branches/1.4/channels/chan_sip.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Wed Apr 4 09:49:46 MST 2007
Author: russell
Date: Wed Apr 4 11:49:45 2007
New Revision: 60112
URL: http://svn.digium.com/view/asterisk?view=rev&rev=60112
Log:
Add a Content-Length of 0 to the response built by transmit_response_with_unsupported().
(issue #9454, reported by makoto, fixed by me)
Modified:
branches/1.4/channels/chan_sip.c
Modified: branches/1.4/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_sip.c?view=diff&rev=60112&r1=60111&r2=60112
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Wed Apr 4 11:49:45 2007
@@ -5815,6 +5815,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