mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-16 12:47:31 +00:00
`Request::stream_into_impl` would call `stream.write_or_error` with a zero length buffer when EOF was reached. However, the `Core::Stream::Stream::write_or_error` implementation verifies that the buffer lenght is non-zero, resulting in a crash. With this change the zero length buffer is never written to the stream.
4.5 KiB
4.5 KiB