Files
pixa/internal
sneak 3afc70999b
check / check (push) Waiting to run
Accept a chunked upstream body of exactly the maximum size (closes #248)
Once MaxResponseSize bytes were read, limitedReader.Read refused the
next read without looking for the end of the body. A body sent with a
Content-Length gets io.EOF with its last bytes, but the end of a
chunked body can come in a later read, so a chunked body of exactly
the limit was refused. Once the limit is used up, Read now reads one
more byte: at the end of the body it returns io.EOF, and with more
data it returns ErrResponseTooLarge, as does every later Read.

Model: opus-5-5
2026-10-15 05:09:16 +00:00
..