-
-
Notifications
You must be signed in to change notification settings - Fork 388
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
feat: HTTP/3 support #3218
feat: HTTP/3 support #3218
Conversation
Just curious, are your servers running HTTP/3? 👀 |
All my servers are providing a production environment and HTTP/3 is still experimental technology, so no. |
Not sure, the rfc9000 is finished since May 2021 and nginx merged quic into theier default branch 3 days ago (https://hg.nginx.org/nginx/rev/235d482ef6bc), so it will probably be included in nginx v1.25, there is already documentation: https://nginx.org/en/docs/http/ngx_http_v3_module.html |
nginx published HTTP/3 today: https://nginx.org/en/CHANGES |
No but probably soon as it's really simple. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can confirm that these changes allow HTTP3 on my Caddy 2.6.4 setup using Coraza and this ruleset. Caddy has supported HTTP3 for ages - I only picked up the HTTP3 issue because 2 clients couldn't login on a test site (but it worked for me!).
Not making this as "approved" as I'm not sure about the test - it looks good to me, I just haven't run it.
The CRS team is meeting on Monday. I've added this PR to the agenda. We could merge right away, but I think it worthwhile to discuss with the team since this is something of a big and official step. Agenda: #3221 |
Is any client using I understand that in the early days of HTTP/2, some early clients used Apart from that query, this seems like a good change 🙂 |
firefox and chrome(-ium) |
Do you have a source for that? I see it as |
I think that @RedXanadu was NOT asking about which clients supports |
I tested this by building HAProxy and curl with HTTP/3. Regardless of what the browsers report (they seem to prettify things and display So I think I had it the wrong way around: But, everything from HTTP/2 onwards doesn't have a real "request line" with an HTTP version number anyway, the request line is 'imaginary'… So I'm still not sure if it's appropriate to accept both |
I guess the RFC should be the SPOT on this. |
a chained rule may need to be added to |
The RFC states that the version is implicitly However it's probably the safest to simply accept both (as is already done with @EsadCetiner Caddy takes a host header for HTTP/3. |
Wondering the status of this. |
Merged after meeting decision. |
this is still wrong |
Hey @Zoey2936, thanks for the heads up, I will follow up with a PR updating the rule description soon. |
Thanks @Zoey2936 for your comment! Maybe next time you can add suggestions directly in the PR? That way it will prevent us from merging until all comments are solved 😄 |
yes |
Adding support for HTTP/3 protocol.
Fixes: #3246