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
This commit is contained in:
parent
bb53ef9d32
commit
d1588ce2d5
|
@ -6223,6 +6223,7 @@ static int transmit_response_with_unsupported(struct sip_pvt *p, const char *msg
|
||||||
respprep(&resp, p, msg, req);
|
respprep(&resp, p, msg, req);
|
||||||
append_date(&resp);
|
append_date(&resp);
|
||||||
add_header(&resp, "Unsupported", unsupported);
|
add_header(&resp, "Unsupported", unsupported);
|
||||||
|
add_header_contentLength(&resp, 0);
|
||||||
return send_response(p, &resp, XMIT_UNRELIABLE, 0);
|
return send_response(p, &resp, XMIT_UNRELIABLE, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue