mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:27:35 +00:00
LibHTTP: Fix processing terminating chunk
After encountering the terminating chunk we need to read the trailing headers line by line, until encountering the final empty line. Fixes #3197
This commit is contained in:
parent
4897eb8c3e
commit
d4dae49dcd
2 changed files with 13 additions and 12 deletions
|
@ -65,8 +65,8 @@ protected:
|
|||
InStatus,
|
||||
InHeaders,
|
||||
InBody,
|
||||
Trailers,
|
||||
Finished,
|
||||
AfterChunkedEncodingTrailer,
|
||||
};
|
||||
|
||||
HttpRequest m_request;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue