summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2007-04-04 16:50:31 +0000
committerRussell Bryant <russell@russellbryant.com>2007-04-04 16:50:31 +0000
commitd1588ce2d5e4cfeb97de6155c1160ef1f01724ce (patch)
treedeb1f1acc9c98fa735473ebbbf57a52b92bbc2fb /channels
parentbb53ef9d3210d2e743b7e1290422d731679a2a37 (diff)
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) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60114 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 78986abfc..dbf54639e 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -6223,6 +6223,7 @@ static int transmit_response_with_unsupported(struct sip_pvt *p, const char *msg
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);
}