1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-23 13:47:42 +00:00
serenity/Userland/Libraries/LibProtocol
Michiel Visser 45004022ad LibProtocol: Fix crash on EOF when using Request::stream_into
`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.
2022-02-16 17:28:46 +03:30
..
CMakeLists.txt Services: Rename ProtocolServer to RequestServer 2021-04-25 19:04:34 +02:00
Request.cpp LibProtocol: Fix crash on EOF when using Request::stream_into 2022-02-16 17:28:46 +03:30
Request.h Userland: Convert TLS::TLSv12 to a Core::Stream::Socket 2022-02-06 13:10:10 +01:00
RequestClient.cpp Everywhere: Convert ByteBuffer factory methods from Optional -> ErrorOr 2022-01-24 22:36:09 +01:00
RequestClient.h LibCore+LibIPC+Everywhere: Return Stream::LocalSocket from LocalServer 2022-01-15 13:29:48 +03:30
WebSocket.cpp Everywhere: Convert ByteBuffer factory methods from Optional -> ErrorOr 2022-01-24 22:36:09 +01:00
WebSocket.h Services: Add a WebSocket service 2021-04-25 19:04:34 +02:00
WebSocketClient.cpp LibCore+LibIPC+Everywhere: Return Stream::LocalSocket from LocalServer 2022-01-15 13:29:48 +03:30
WebSocketClient.h LibCore+LibIPC+Everywhere: Return Stream::LocalSocket from LocalServer 2022-01-15 13:29:48 +03:30