Commit Graph

5 Commits

Author SHA1 Message Date
Guy Harris 0dd6ee92de "tvb_get_string()" returns a pointer to "g_malloc()"ed data, so you have
to free it when you're done with it.

It never returns a null pointer, however, so there's no need to check
for that.

Clean up the code to process Transfer-Encoding a bit.

svn path=/trunk/; revision=10786
2004-05-04 06:53:47 +00:00
Olivier Biot 9e77ad2862 From Jerry Talkington:
- Dissect chunked transfer-coded body in HTTP
- Update email address

svn path=/trunk/; revision=10710
2004-04-26 17:10:40 +00:00
Guy Harris 1479458d1b From RFC 2616: "Field names are case-insensitive." Use
"tvb_strncaseeql()", not "tvb_strneql()", to check for
"Content-Length:".

svn path=/trunk/; revision=9486
2003-12-29 22:33:18 +00:00
Guy Harris 3f05338503 In the loop that processes lines in HTTP requests and replies, loop as
long as there's reported data, don't just loop through the data in the
tvbuff.

Fix some problems with short frames.

svn path=/trunk/; revision=9438
2003-12-24 09:50:54 +00:00
Guy Harris 75d6b95de1 Not all headers in HTTP, RTSP, SIP, etc. are entity headers; rename some
files, routines, data structures, etc..

svn path=/trunk/; revision=9428
2003-12-23 02:29:11 +00:00