Mercurial > pidgin
comparison PLUGIN_HOWTO @ 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 | 83ec0b408926 |
| children | db5a58aabe38 |
comparison
equal
deleted
inserted
replaced
| 27245:a051f77d86a8 | 27246:e28b627be482 |
|---|
