Merge from vendor branch TNFTP:
authorPeter Avalos <pavalos@dragonflybsd.org>
Sat, 25 Aug 2007 21:05:27 +0000 (21:05 +0000)
committerPeter Avalos <pavalos@dragonflybsd.org>
Sat, 25 Aug 2007 21:05:27 +0000 (21:05 +0000)
Improve parsing of chunked transfer chunks per RFC2616:
* more stringent chunk-size parsing
* ignore optional trailing ';chunk-ext' stuff, instead of barfing
* detect EOF before final \r\n.


Trivial merge