ladybird/Userland/Libraries/LibHTTP
Tim Schumacher 0bd9a94bea LibHTTP: Don't read and drop data if status line can't be read
The idea of reading some amount of data presumably was to check if the
stream is still operable. However, this permanently breaks the request
format, as those 64 bytes are just lost forever.

Instead, just let the request fail instantly for now and think about
making it retry some time in the future. Since `can_read_line` updates
the read buffer beforehand, this should only happen in the rarest of
cases anyways.
2022-12-12 20:59:03 -07:00
..
CMakeLists.txt Everywhere: Mark dependencies of most targets as PRIVATE 2022-11-01 14:49:09 +00:00
Forward.h Userland: Convert TLS::TLSv12 to a Core::Stream::Socket 2022-02-06 13:10:10 +01:00
HttpRequest.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
HttpRequest.h Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
HttpResponse.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
HttpResponse.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
HttpsJob.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
HttpsJob.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Job.cpp LibHTTP: Don't read and drop data if status line can't be read 2022-12-12 20:59:03 -07:00
Job.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00