Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
4.0
-
None
-
None
Description
ChunkedInputStream does not handle socket timeouts when reading data. If a socket timeout is received after finishing reading a chunk (including it's CRLF combination) and before reading the next chunk's length, the next call to read will attempt to re-read the CRLF, causing an IOException with the message "CRLF expected at end of chunk" to be thrown. I have only tested this with 3.0 but it doesn't appear to be fixed in 3.1 or any 4.0 from looking at the code.
Attachments
Attachments
Issue Links
- is cloned by
-
HTTPCORE-333 ChunkedInputStream does not handle sockets with timeouts - Client 3.1
- Closed