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

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

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


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


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

Posted by "Ortwin Glück (JIRA)" <ji...@apache.org>.
     [ 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


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

Posted by "Eugene Prokopiev (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HTTPCLIENT-607?page=all ]

Eugene Prokopiev updated HTTPCLIENT-607:
----------------------------------------

    Attachment: HttpParser.diff

This is dirty implementation of infinite loop broking. In production timeout must be a parameter.

> 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