mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:38:10 +00:00
LibHTTP: Be more tolerant about bad chunked encoding trailers
Some servers (*glares at cloudflare*) like to send two last chunks, which is strictly against the spec. Let's be more tolerant of this behaviour.
This commit is contained in:
parent
49c5acaa3d
commit
ec0315883b
2 changed files with 19 additions and 0 deletions
|
@ -51,6 +51,7 @@ public:
|
|||
virtual void shutdown() override;
|
||||
|
||||
protected:
|
||||
virtual bool should_fail_on_empty_payload() const override { return false; }
|
||||
virtual void register_on_ready_to_read(Function<void()>) override;
|
||||
virtual void register_on_ready_to_write(Function<void()>) override;
|
||||
virtual bool can_read_line() const override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue