mirror of
https://github.com/RGBCube/serenity
synced 2026-01-13 00:50:59 +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. |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Request.cpp | ||
| Request.h | ||
| RequestClient.cpp | ||
| RequestClient.h | ||
| WebSocket.cpp | ||
| WebSocket.h | ||
| WebSocketClient.cpp | ||
| WebSocketClient.h | ||