-
Notifications
You must be signed in to change notification settings - Fork 652
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTTP protocol version reported by the server is HTTP/1.1 even for HTTP/2-only servers #3475
Comments
NiccoMlt
added
status/need-triage
A new issue that still need to be evaluated as a whole
type/bug
A general bug
labels
Oct 19, 2024
violetagg
removed
the
status/need-triage
A new issue that still need to be evaluated as a whole
label
Oct 22, 2024
@NiccoMlt Thanks for the reproducible example! |
You're welcome, hope it helps! |
violetagg
added a commit
that referenced
this issue
Oct 28, 2024
NiccoMlt
added a commit
to diennea/carapaceproxy
that referenced
this issue
Dec 10, 2024
upgrades Reactor Netty to 1.1.24 * see reactor/reactor-netty#3473 * see reactor/reactor-netty#3475
NiccoMlt
added a commit
to diennea/carapaceproxy
that referenced
this issue
Dec 10, 2024
upgrades Reactor Netty to 1.1.24 * see reactor/reactor-netty#3473 * see reactor/reactor-netty#3475
NiccoMlt
added a commit
to diennea/carapaceproxy
that referenced
this issue
Dec 10, 2024
upgrades Reactor Netty to 1.1.24 * see reactor/reactor-netty#3473 * see reactor/reactor-netty#3475
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
A HTTP server should return a representation of the "HTTP/2 version" when invoking
HttpServerRequest#protocol
orHttpServerRequest#version
if it handles a request that came over HTTP/2.See the example code below
Actual Behavior
The
HttpClient
call makes the server logeven if I use cURL:
I get the same logs:
Steps to Reproduce
Here is a self-contained example that:
certificate.crt
and aca.crt
to use with other tools to test the server/
route for HTTP methodsGET
andPOST
onDispose
to allow additional manual test, i.e. with cURLYour Environment
netty
, ...):java -version
):❯ java -version openjdk version "21.0.2" 2024-01-16 LTS OpenJDK Runtime Environment Temurin-21.0.2+13 (build 21.0.2+13-LTS) OpenJDK 64-Bit Server VM Temurin-21.0.2+13 (build 21.0.2+13-LTS, mixed mode)
uname -a
):❯ uname -a Darwin s3macbook23.local 24.0.0 Darwin Kernel Version 24.0.0: Tue Sep 24 23:37:36 PDT 2024; root:xnu-11215.1.12~1/RELEASE_ARM64_T6020 arm64
The text was updated successfully, but these errors were encountered: