Skip to content
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/3 protocol support #941

Merged
merged 10 commits into from
May 26, 2021
Merged

http/3 protocol support #941

merged 10 commits into from
May 26, 2021

Conversation

macbre
Copy link
Owner

@macbre macbre commented May 26, 2021

  • nginx server with http/3 support (listening on port 9001)
  • integration tests entry
  • fix mainDomainHttpProtocol metric as h/3 is used by subsequent requests for the same domain
$ node examples/index.js https://gf.dev/http3-test
phantomas v2.2.0 loaded from /Users/macbre/git/phantomas
Opening <https://gf.dev/http3-test> ...
Response: GET https://gf.dev/http3-test [text/html h2]
Response: GET https://gf.dev/cdn-cgi/apps/head/BbOSJ-ZMRnT-WKwVXSLwrT5XQss.js [application/javascript h2]
Response: GET https://gf.dev/static/css/all.min.css [text/css h2]
Response: GET https://gf.dev/static/images/sections/footer/logo-desktop.svg [image/svg+xml h3-29]
Response: GET https://gf.dev/cdn-cgi/bm/cv/669835187/api.js [text/javascript h3-29]
Response: GET https://gf.dev/static/fonts/geekflare-icons.woff [font/woff h3-29]
...

See #929

@macbre macbre added the http3 label May 26, 2021
@macbre macbre added this to the v2.3 milestone May 26, 2021
@macbre
Copy link
Owner Author

macbre commented May 26, 2021

Tests do not pass with Chromium 90.0.4430.93 😞

Works locally with Chromium 91:

  mainDomainHttpProtocol: 'h3-29',
  oldHttpProtocol: 0,
  mainDomainTlsProtocol: 'QUIC',
  oldTlsProtocol: 0,

@macbre macbre marked this pull request as ready for review May 26, 2021 17:28
@macbre macbre enabled auto-merge May 26, 2021 17:48
@macbre macbre force-pushed the http3-protocol-support branch from fade1c7 to d8486fb Compare May 26, 2021 18:03
@macbre macbre merged commit 8292480 into devel May 26, 2021
@macbre macbre deleted the http3-protocol-support branch May 26, 2021 18:11
@macbre macbre mentioned this pull request May 26, 2021
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant