diff -r df64b4b79912 -r 5fb102d2c745 src/server/util/io.c --- a/src/server/util/io.c Wed Feb 25 23:14:47 2026 +0100 +++ b/src/server/util/io.c Thu Feb 26 21:35:53 2026 +0100 @@ -360,7 +360,7 @@ WSBool httpstream_eof(IOStream *st) { HttpStream *http = (HttpStream*)st; - return http->read_eof; + return http->read_eof || http->read == http->max_read; } int64_t httpstream_written(IOStream *st) {