This repository has been archived by the owner on Jun 1, 2023. It is now read-only.
PicoHTTP#collectLines throws OutOfMemoryError when reading a file #2
Labels
bug
Something isn't working
When a file is sent to a route, the binary data is sent after the headers, but if the file is too big, then the collectLines throws a OutOfMemoryError.
The size of the file could be checked by reading the
Content-Length
header, but still, I don't believe that it should use that much heap.StackTrace:
The text was updated successfully, but these errors were encountered: