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

Tuure Laurinolli updated DIRMINA-517:
-------------------------------------

    Attachment: 100-continue.patch

Patch that describes how 100 Continue responses can be handled properly.

> MINA HTTP codec handles HTTP 100 Continue improperly
> ----------------------------------------------------
>
>                 Key: DIRMINA-517
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-517
>             Project: MINA
>          Issue Type: Bug
>          Components: Protocol - HTTP
>    Affects Versions: 2.0.0-M1
>         Environment: MINA from public repository revision 613995
>            Reporter: Tuure Laurinolli
>         Attachments: 100-continue.patch
>
>
> MINA HTTP codec assumes that HTTP/1.1 100 Continue responses can have a body, 
> and decodes the final response that follows the interim Continue response as 
> the body of the Continue response.
> This can be fixed by recognizing that 100 Continue responses MUST NOTt have a 
> body (end of section 4.3 of RFC 2616), skipping over their headers and 
> processing teh following final response as if no 100 Continue response had 
> ever existed. I will attach a patch with proof-of-concept implementation that 
> decodes the responses I originally encountered the problem with (I cannot 
> provide the responses as-is, but if needed, I can provide something).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to