hc-dev mailing list archives

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

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

William R. Speirs edited comment on HTTPCORE-281 at 11/17/11 9:27 PM:
----------------------------------------------------------------------

Not being picky at all...

1) Yea, it was an incomplete patch. I wanted to make sure I had the functionality down and
wasn't missing something from the RFC. Does the logic look correct?

2) Good feedback, thanks!

3) What was the noise? The newlines? Personally I'm a fan of whitespace as it makes if blocks
easier to read, but I can remove that if it's what you're talking about.

Thanks...
                
      was (Author: wspeirs):
    Not being picky at all...

1) Yea, it was an incomplete patch. I wanted to make sure I had the functionality down and
wasn't missing something from the RFC. Does the logic look correct?

2) Good feedback, thanks!

3) What was noise? The newlines? Personally I'm a fan of whitespace as it makes if blocks
easier to read, but I can remove that if it's what you're talking about.

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


Mime
View raw message