Skip to content

feat: Support http2 only client #18

Merged
Takaros999 merged 3 commits into
mainfrom
takis/http-2
Sep 25, 2025
Merged

feat: Support http2 only client #18
Takaros999 merged 3 commits into
mainfrom
takis/http-2

Conversation

@Takaros999
Copy link
Copy Markdown
Contributor

No description provided.

Comment thread src/http.rs
vsock_proxy_port,
)))
Client::builder()
.http2_only(true)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this client support HTTP 1.1 too?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.http2_only forces http2 in the TLS negotiation; if that fails then the handshake fails as well

@Takaros999 Takaros999 merged commit 10da88c into main Sep 25, 2025
9 checks passed
@Takaros999 Takaros999 deleted the takis/http-2 branch September 25, 2025 10:08
@github-actions github-actions Bot mentioned this pull request Sep 25, 2025
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