Mailing List Archive

[Bug 65225] Return 505 HTTP Version Not Supported if protocol is HTTP and if version is not supported!
https://bz.apache.org/bugzilla/show_bug.cgi?id=65225

--- Comment #1 from Giovanni Bechis <giovanni@paclan.it> ---
Created attachment 37815
--> https://bz.apache.org/bugzilla/attachment.cgi?id=37815&action=edit
error 505 fix

This diff fixes the issue, I wonder if there is a better method to check for
http protocol version.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 65225] Return 505 HTTP Version Not Supported if protocol is HTTP and if version is not supported! [ In reply to ]
https://bz.apache.org/bugzilla/show_bug.cgi?id=65225

--- Comment #2 from Ruediger Pluem <rpluem@apache.org> ---
(In reply to Giovanni Bechis from comment #1)
> Created attachment 37815 [details]
> error 505 fix
>
> This diff fixes the issue, I wonder if there is a better method to check for
> http protocol version.

I don't like the patch because there could be 3rd party modules implementing
later versions of HTTP. Please see also

https://lists.apache.org/thread.html/ra41dbcfc579d04887cc0644fc6803f0ae0f154291c058f52aee1c4df%40%3Cdev.httpd.apache.org%3E

and the whole thread:

https://lists.apache.org/thread.html/red499ac4750b88e5943c25abb86434c59dfff4d4f386ffc53742755d%40%3Cdev.httpd.apache.org%3E

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 65225] Return 505 HTTP Version Not Supported if protocol is HTTP and if version is not supported! [ In reply to ]
https://bz.apache.org/bugzilla/show_bug.cgi?id=65225

--- Comment #3 from WebTestingRL <webtestingsrl@gmail.com> ---
Maybe a variable that says if the protocol is supported or not? So, if a module
would be created for > http2, it can mention if protocol is supported or not.

like r->protocol_supported or something of that kind.

That could also be that the associated modules with the protocols would set
this variable.

Or just check if the protocol is HTTP, and the version is > 0.9, and send the
status there.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org