mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
Bug #1213. Fix for improperly specified Content-Length header
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2429 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3266,7 +3266,7 @@ static int transmit_register(struct sip_registry *r, char *cmd, char *auth, char
|
||||
add_header(&req, "Expires", tmp);
|
||||
add_header(&req, "Contact", p->our_contact);
|
||||
add_header(&req, "Event", "registration");
|
||||
add_header(&req, "Content-length", "0");
|
||||
add_header(&req, "Content-Length", "0");
|
||||
add_blank_header(&req);
|
||||
copy_request(&p->initreq, &req);
|
||||
parse(&p->initreq);
|
||||
|
Reference in New Issue
Block a user