You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Ortwin Glück (JIRA)" <ji...@apache.org> on 2006/11/16 11:28:38 UTC

[jira] Resolved: (HTTPCLIENT-607) Infinite loop in HttpParser.readRawLine

     [ http://issues.apache.org/jira/browse/HTTPCLIENT-607?page=all ]

Ortwin Glück resolved HTTPCLIENT-607.
-------------------------------------

    Resolution: Invalid

The proposed "fix" is not necessary. It tries to do the same as a socket timeout. Users should set the "http.socket.timeout" parameter to an apropriate value to avoid idefinite blocking.

> Infinite loop in HttpParser.readRawLine
> ---------------------------------------
>
>                 Key: HTTPCLIENT-607
>                 URL: http://issues.apache.org/jira/browse/HTTPCLIENT-607
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 3.0.1
>            Reporter: Eugene Prokopiev
>         Attachments: HttpParser.diff
>
>
> while loop in HttpParser.readRawLine may be infinite on broken InputStream

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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