jira-importer opened a new issue, #862:
URL: https://github.com/apache/httpcomponents-core/issues/862

   **[Anton 
Khitrenovich](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=khitrenovich)**
 opened 
**[HTTPCORE-333](https://issues.apache.org/jira/browse/HTTPCORE-333?redirect=false)**
 and commented
   
   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:**
   - 
[HttpClient_829.java](https://issues.apache.org/jira/secure/attachment/12568409/HttpClient_829.java)
 (_4.33 kB_)
   - 
[HTTPCLIENT-829.patch](https://issues.apache.org/jira/secure/attachment/12568410/HTTPCLIENT-829.patch)
 (_2.27 kB_)
   
   **Issue Links:**
   - [HTTPCORE-190](https://issues.apache.org/jira/browse/HTTPCORE-190) 
ChunkedInputStream does not handle sockets with timeouts
    (_**"is a clone of"**_)
   - [AXIS2-4318](https://issues.apache.org/jira/browse/AXIS2-4318) Upgrade 
CommonsHTTPTransportSender to use httpclient 4.0
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to