NanoHttpd / nanohttpd

Tiny, easily embeddable HTTP server in Java.
http://nanohttpd.org
BSD 3-Clause "New" or "Revised" License
6.96k stars 1.7k forks source link

SocketTimeoutException when reading content length is unknown #609

Closed saket closed 1 year ago

saket commented 3 years ago

Is it a known issue that nanohttpd fails to read content body of multipart calls when their content length is unknown?

joelcho commented 3 years ago

I think it will never happen. Because getBodySize has checked the 'content-length'

And see also parseBody