puma/ext/puma_http11/org/jruby/puma
MSP-Greg b6ef31ef7d
[bug] Fixup SERVER_PROTOCOL & HTTP_VERSION headers (#2871)
* Fixup SERVER_PROTOCOL & HTTP_VERSION headers

HTTP_VERSION header can be defined by a client, but it's also used by Rack, Rails, Sinatra, etc.  Change c/ragel code to set SERVER_PROTOCOL to the HTTP protocol defined by the request 'first line', and for now, set HTTP_VERSION to the same.

Note that previously SERVER_PROTOCOL was set to http/1.1, which has been since the start of Puma.

* Tests - replace HTTP_VERSION with SERVER_PROTOCOL
2022-09-09 21:05:19 -05:00
..
Http11.java [bug] Fixup SERVER_PROTOCOL & HTTP_VERSION headers (#2871) 2022-09-09 21:05:19 -05:00
Http11Parser.java [bug] Fixup SERVER_PROTOCOL & HTTP_VERSION headers (#2871) 2022-09-09 21:05:19 -05:00
MiniSSL.java [jruby] allow truststore without password (#2904) 2022-08-27 15:18:24 -05:00