Fixes to the fd-oriented SIP TCP reads.
authorWalter Doekes <walter+asterisk@wjd.nu>
Tue, 16 Oct 2012 21:46:09 +0000 (21:46 +0000)
committerWalter Doekes <walter+asterisk@wjd.nu>
Tue, 16 Oct 2012 21:46:09 +0000 (21:46 +0000)
commit1a0646aec17422b5d5071714fa8f1992a097c367
tree3e555945285ecdb28810ef5bd7199de6ac6e5c63
parent8a65f47e88a8de9dfa5426441c06aaa63e6374a0
Fixes to the fd-oriented SIP TCP reads.

Don't crash on large user input. Allow SIP headers without space.
Optimize code a bit.

Review: https://reviewboard.asterisk.org/r/2162
........

Merged revisions 375111 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 375112 from http://svn.asterisk.org/svn/asterisk/branches/10
........

Merged revisions 375113 from http://svn.asterisk.org/svn/asterisk/branches/11

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@375114 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c