You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2021/04/08 16:56:01 UTC

[Bug 65225] New: 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

            Bug ID: 65225
           Summary: Return 505 HTTP Version Not Supported if protocol is
                    HTTP and if version is not supported!
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Core
          Assignee: bugs@httpd.apache.org
          Reporter: webtestingsrl@gmail.com
  Target Milestone: ---

Like many other web servers, it would be nice for Apache sends 505 HTTP Version
Not Supported when the protocol is HTTP and the version is not supported.

Right now, it only sends 400 Bad Request. But it would be perfect to send 505
HTTP Version Not Supported for the appropriate situations.

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

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65225

--- Comment #2 from Ruediger Pluem <rp...@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!

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65225

--- Comment #3 from WebTestingRL <we...@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


[Bug 65225] Return 505 HTTP Version Not Supported if protocol is HTTP and if version is not supported!

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65225

--- Comment #1 from Giovanni Bechis <gi...@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