1
Fork 0
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:
Tom 2020-08-18 20:34:15 -06:00 committed by Andreas Kling
parent 4897eb8c3e
commit d4dae49dcd
2 changed files with 13 additions and 12 deletions

View file

@ -65,8 +65,8 @@ protected:
InStatus,
InHeaders,
InBody,
Trailers,
Finished,
AfterChunkedEncodingTrailer,
};
HttpRequest m_request;