diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-04-04 16:50:31 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-04-04 16:50:31 +0000 |
commit | 1824c632b249897435c7a5afc5524849bbe771ad (patch) | |
tree | deb1f1acc9c98fa735473ebbbf57a52b92bbc2fb /channels/chan_sip.c | |
parent | cd8af68420db04c0bbd0fafacedba5630c9f11a6 (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: http://svn.digium.com/svn/asterisk/trunk@60114 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_sip.c')
-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 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); } |