You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Joshua Warner (JIRA)" <ji...@apache.org> on 2013/02/08 20:05:15 UTC

[jira] [Updated] (DIRMINA-933) subtle HttpServerDecoder problems

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

Joshua Warner updated DIRMINA-933:
----------------------------------

    Attachment: http-decoder-fix.patch

Attaching patch for fix
                
> subtle HttpServerDecoder problems
> ---------------------------------
>
>                 Key: DIRMINA-933
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-933
>             Project: MINA
>          Issue Type: Bug
>          Components: Protocol - HTTP
>    Affects Versions: 2.0.7
>            Reporter: Joshua Warner
>             Fix For: 2.0.8
>
>         Attachments: http-decoder-fix.patch
>
>
> There are two small problems in HttpServerDecoder:
> First that parts of the first line (POST /what/ever HTTP/1.1, for example) could be dropped if that line is broken into separate messages (fixed by the 'msg = ...' change)
> Second, that the first part of the body isn't processed immediately, if it's received with the end of the headers.  Instead, it waits until the next upstream message from the channel before it's processed.

--
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