Mercurial > pidgin
comparison libpurple/connection.c @ 27246:e28b627be482
A few changes to our code to handle chunked transfer-encodings (technically
required for http 1.1 clients, but I guess it hasn't been a problem until now?)
* Most importantly, check that the size of this chunk is less than the size
of the data remaining in the buffer. Otherwise malicious servers could
cause us to crash
* Handle reading chunks that have a semi-colon after them. It seems like
maybe this is allowed but almost never used?
* Assume len is non-NULL (it always is in our case)
* Add some comments
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 02 Jul 2009 07:33:17 +0000 |
parents | aa2a2eae9c3e |
children | 815d9ce1a8b0 |
comparison
equal
deleted
inserted
replaced
27245:a051f77d86a8 | 27246:e28b627be482 |
---|