hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCORE-333) ChunkedInputStream does not handle sockets with timeouts - Client 3.1
Date Sun, 10 Feb 2013 10:29:12 GMT

    [ https://issues.apache.org/jira/browse/HTTPCORE-333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13575410#comment-13575410
] 

Oleg Kalnichevski commented on HTTPCORE-333:
--------------------------------------------

Hi Anton
As far as I know Axis2 got upgraded to HC 4.1 some time ago. They may still ship HC 3.x based
transport, though, for compatibility reasons. 

Oleg
                
> ChunkedInputStream does not handle sockets with timeouts - Client 3.1
> ---------------------------------------------------------------------
>
>                 Key: HTTPCORE-333
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-333
>             Project: HttpComponents HttpCore
>          Issue Type: Bug
>         Environment: Commons-HttpClient 3.x
>            Reporter: Anton Khitrenovich
>            Priority: Minor
>         Attachments: HttpClient_829.java, HTTPCLIENT-829.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message