mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 18:37:58 +03:00
LibHTTP: Always read in the last chunk
This was accidentally put behind a debug flag. Fixes #5080
This commit is contained in:
parent
2112b79986
commit
712f76c010
Notes:
sideshowbarker
2024-07-18 22:54:21 +09:00
Author: https://github.com/Lubrsi Commit: https://github.com/SerenityOS/serenity/commit/712f76c0108 Pull-request: https://github.com/SerenityOS/serenity/pull/5088 Issue: https://github.com/SerenityOS/serenity/issues/5080
@ -300,9 +300,10 @@ void Job::on_socket_connected()
|
||||
|
||||
// we've read everything, now let's get the next chunk
|
||||
size = -1;
|
||||
[[maybe_unused]] auto line = read_line(PAGE_SIZE);
|
||||
|
||||
if constexpr (debug_job)
|
||||
dbgln("Line following (should be empty): '{}'", read_line(PAGE_SIZE));
|
||||
dbgln("Line following (should be empty): '{}'", line);
|
||||
}
|
||||
m_current_chunk_remaining_size = size;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user