ladybird/Userland/Services/RequestServer
Arda Cinar f883dc3eb0 RequestServer: Do not crash on Gemini responses
Starting a gemini request creates a pipe for the output stream for the
response, and a Core::Stream::File object is created from that pipe.
Previously, the length of the response was computed by calling
output_stream.size() which used lseek on the file descriptor. Doing that
returned an error from lseek. Computing the value by counting the
received bytes (via Gemini::Job::response_length) avoids that crash.
2023-01-14 12:28:02 +01:00
..
CMakeLists.txt Everywhere: Mark dependencies of most targets as PRIVATE 2022-11-01 14:49:09 +00:00
ConnectionCache.cpp LibCore+RequestServer: Add support for SOCKS5 proxies 2022-04-09 12:21:43 +02:00
ConnectionCache.h LibCore+Userland: Make Core::Timer::create_single_shot() return ErrorOr 2023-01-12 11:25:51 +01:00
ConnectionFromClient.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
ConnectionFromClient.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Forward.h Userland: Rename IPC ClientConnection => ConnectionFromClient 2022-02-25 22:35:12 +01:00
GeminiProtocol.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
GeminiProtocol.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
GeminiRequest.cpp RequestServer: Do not crash on Gemini responses 2023-01-14 12:28:02 +01:00
GeminiRequest.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
HttpCommon.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
HttpProtocol.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
HttpProtocol.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
HttpRequest.cpp Userland: Rename IPC ClientConnection => ConnectionFromClient 2022-02-25 22:35:12 +01:00
HttpRequest.h Userland: Rename IPC ClientConnection => ConnectionFromClient 2022-02-25 22:35:12 +01:00
HttpsProtocol.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
HttpsProtocol.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
HttpsRequest.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
HttpsRequest.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
main.cpp RequestServer: Only attach SIGINFO signal handler if SIGINFO is defined 2022-07-06 14:24:23 +02:00
Protocol.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Protocol.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Request.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Request.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
RequestClient.ipc Everywhere: Use IPC include syntax 2021-07-03 12:16:00 +02:00
RequestServer.ipc AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00