Skip to content
Snippets Groups Projects
Commit d1588ce2 authored by Russell Bryant's avatar Russell Bryant
Browse files

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
parent bb53ef9d
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
 
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment