I have the case a client is sending the http request in chunks to the server. The server reads the incoming stream till EOF.
When the connection gets broken while I am reading the stream on the server, I do not get any exception. Instead I get an EOF. So in my case it seems I have already received the whole file, but at the end some bytes are missing.
The ChunkedInputFilter is just returning -1 instead of throwing some exception.