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

how to enable http3? #476

Open
zhangbtciab opened this issue Nov 17, 2022 · 7 comments
Open

how to enable http3? #476

zhangbtciab opened this issue Nov 17, 2022 · 7 comments

Comments

@zhangbtciab
Copy link

how to enable http3 for get or post request?

@zhangbtciab
Copy link
Author

it tell me this .

error: failed to select a version for curl.
... required by package rust-http v0.1.0 (/root/test/rust-http)
versions that meet the requirements ^0.4.44 (locked to 0.4.44) are: 0.4.44

the package rust-http depends on curl, with features: http3-quiche but curl does not have these features.

@zhangbtciab
Copy link
Author

this is my toml file

[package]
name = "rust-http"
version = "0.1.0"
edition = "2021"

[dependencies]
curl = { version = "0.4.44", features = ["http2","poll_7_68_0","http3-quiche"] }

@sagebind
Copy link
Collaborator

sagebind commented Nov 17, 2022

There is no such feature as http3-quiche and currently it is not possible to enable HTTP/3 support in the Rust wrapper. Also keep in mind that HTTP/3 support in curl itself is still considered in experimental status.

@zhangbtciab
Copy link
Author

There is no such feature as http3-quiche and currently it is not possible to enable HTTP/3 support in the Rust wrapper. Also keep in mind that HTTP/3 support in curl itself is still considered in experimental status.

how can I make a http3 request with quiche? Do you know?

@zhangbtciab
Copy link
Author

There is no such feature as http3-quiche and currently it is not possible to enable HTTP/3 support in the Rust wrapper. Also keep in mind that HTTP/3 support in curl itself is still considered in experimental status.

I konw it is in experimental status. I want to use the branch http3-quiche as a test But I can not build the branch http3-quiche

@sagebind
Copy link
Collaborator

If you are referring to #433, there are several issues preventing it from working, which is why it was never merged. I am not too surprised that it does not compile.

@JimFuller-RedHat
Copy link

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

No branches or pull requests

3 participants