You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "William R. Speirs (Commented) (JIRA)" <ji...@apache.org> on 2011/11/17 19:55:51 UTC

[jira] [Commented] (HTTPCORE-281) Server does not follow version negotiation rules correctly

    [ https://issues.apache.org/jira/browse/HTTPCORE-281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13152228#comment-13152228 ] 

William R. Speirs commented on HTTPCORE-281:
--------------------------------------------

I didn't realize the request was carried around in the context, so I believe adding the additional else if case to the RequestConnControl (see patch above) is all which is needed to fix this issue. Please review...
                
> Server does not follow version negotiation rules correctly
> ----------------------------------------------------------
>
>                 Key: HTTPCORE-281
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-281
>             Project: HttpComponents HttpCore
>          Issue Type: Bug
>          Components: HttpCore, HttpCore NIO
>            Reporter: William R. Speirs
>         Attachments: HTTPCORE-281.diff
>
>
> If a request is made with HTTP/1.0 and a response is provided with HTTP/1.1 the server will incorrectly treat the entire connection as 1.1 by keeping a connection open with the client. Some clients (ab for example) will simply hang waiting for the server to close the connection.
> RFC 2145 (http://www.faqs.org/rfcs/rfc2145.html) describes HTTP version numbers and how clients and servers should act.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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