You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2007/06/04 20:53:26 UTC

[jira] Resolved: (HTTPCORE-77) SessionInputBuffer/SessionOutputBuffer hangs in infinite loop

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

Oleg Kalnichevski resolved HTTPCORE-77.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0-alpha5

Patch checked in. The only minor change I made to the original patch was replacing 'throw new CharacterCodingException()' with 'result.throwException()'.

Many thanks for this contribution, Steffen

Oleg

> SessionInputBuffer/SessionOutputBuffer hangs in infinite loop
> -------------------------------------------------------------
>
>                 Key: HTTPCORE-77
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-77
>             Project: HttpComponents Core
>          Issue Type: Bug
>          Components: HttpCore NIO
>    Affects Versions: 4.0-alpha5
>            Reporter: Steffen Pingel
>            Priority: Blocker
>             Fix For: 4.0-alpha5
>
>         Attachments: httpcore-malformed-characters.patch
>
>
> The result of CharsetDecoder.decode() and CharsetEncoder.encode() is not checked for errors resulting in an infinite loop in SessionInputBuffer.readLine() and SessionOutputBuffer.writeLine() when malformed characters are processed.

-- 
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: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org