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] Moved: (HTTPCORE-190) ChunkedInputStream does not handle sockets with timeouts
Date Thu, 26 Feb 2009 12:53:05 GMT

     [ https://issues.apache.org/jira/browse/HTTPCORE-190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Oleg Kalnichevski moved HTTPCLIENT-829 to HTTPCORE-190:
-------------------------------------------------------

    Affects Version/s:     (was: 3.1 Final)
                       4.0
                  Key: HTTPCORE-190  (was: HTTPCLIENT-829)
              Project: HttpComponents HttpCore  (was: HttpComponents HttpClient)

> ChunkedInputStream does not handle sockets with timeouts
> --------------------------------------------------------
>
>                 Key: HTTPCORE-190
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-190
>             Project: HttpComponents HttpCore
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Adam Bryzak
>             Fix For: 4.1
>
>         Attachments: HTTPCLIENT-829.patch, HttpClient_829.java
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message