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

Add support for h2c to GCP conformance and HTTP/2 to hammer #243

Merged
merged 5 commits into from
Sep 12, 2024

Conversation

AlCutter
Copy link
Collaborator

@AlCutter AlCutter commented Sep 11, 2024

This PR enables the use of HTTP2/Cleartext (h2c) in the GCP conformance server, and adds an flag to optionally force HTTP/2 usage in the hammer.

HTTP/2 supports much better multiplexing of requests over a socket connection compared to HTTP/1.1, which in turn results in better performance and fewer errors when sending a large number of concurrent requests (e.g. when running the hammer against a conformance server).

CloudRun detects and supports h2c if implemented by the server its hosting, otherwise it will downgrade incoming HTTP/2 requests to HTTP/1.

@AlCutter AlCutter force-pushed the gcp_h2c branch 9 times, most recently from 03b369b to b099941 Compare September 12, 2024 11:35
@AlCutter AlCutter changed the title Add support for H2C to GCP conformance and hammer Add support for H2C to GCP conformance and HTTP/2 to hammer Sep 12, 2024
@AlCutter AlCutter changed the title Add support for H2C to GCP conformance and HTTP/2 to hammer Add support for h2c to GCP conformance and HTTP/2 to hammer Sep 12, 2024
@AlCutter AlCutter force-pushed the gcp_h2c branch 9 times, most recently from 228acdf to 004f335 Compare September 12, 2024 15:00
@AlCutter AlCutter merged commit 1b69562 into transparency-dev:main Sep 12, 2024
14 checks passed
@AlCutter AlCutter deleted the gcp_h2c branch September 12, 2024 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants