hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCORE-281) Server does not follow version negotiation rules correctly
Date Thu, 17 Nov 2011 21:16:52 GMT

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

Oleg Kalnichevski commented on HTTPCORE-281:

Sorry about being picky.

(1) a test case would be nice.
(2) you should do version comparison using #lessThan #greaterThan methods in order to handle
versions lesser than 1.0 the same way. 
(3) ideally there should be no 'noise' in the patch

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

View raw message