commit | 115acb975521ae2e548a19840b77ef32ffaab98a | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sat Dec 26 13:56:06 2009 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sat Dec 26 13:56:06 2009 +0100 |
tree | 4f57e96fc575794603403c12b317827491de08f8 | |
parent | 0394594b067f6383d56e444396e98fa40fbbc3a3 [diff] |
[MEDIUM] http: rework chunk-size parser Chunked encoding can be slightly more complex than what was implemented. Specifically, it supports some optional extensions that were not parsed till now if present, and would have caused an error to be returned. Also, now we enforce check for too large values in chunk sizes in order to ensure we never overflow. Last, we're now able to return a request error if we can't read the chunk size because the buffer is already full.