You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Platform
Linux xornet 5.19.16-200.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Oct 16 22:50:04 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Description
The gateaway server example
[dependencies]
hyper = { version = "0.14.20", features = ["full"] }
tokio = { version = "1", features = ["full"] }
pretty_env_logger = "0.4"
futures = "0.3"
Instead when running it i get the error
error[E0432]: unresolved import `hyper::server::conn::http1`
--> src/main.rs:3:13
|
3 | use hyper::{server::conn::http1, service::service_fn};
| ^^^^^^^^^^^^^^^^^^^ no `http1` in `server::conn`
error[E0433]: failed to resolve: could not find `http1` in `conn`
--> src/main.rs:47:42
|
47 | hyper::client::conn::http1::handshake(client_stream).await?;
| ^^^^^ could not find `http1` in `conn`
Some errors have detailed explanations: E0432, E0433.
For more information about an error, try `rustc --explain E0432`.
error: could not compile `xorproxy` due to 2 previous errors```
The text was updated successfully, but these errors were encountered:
ghost
added
the
C-bug
Category: bug. Something is wrong. This is bad!
label
Oct 28, 2022
Version
0.14.20
Platform
Linux xornet 5.19.16-200.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Oct 16 22:50:04 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Description
The gateaway server example
[dependencies]
hyper = { version = "0.14.20", features = ["full"] }
tokio = { version = "1", features = ["full"] }
pretty_env_logger = "0.4"
futures = "0.3"
Instead when running it i get the error
The text was updated successfully, but these errors were encountered: