hyper
hyper copied to clipboard
An HTTP library for Rust
**Is your feature request related to a problem? Please describe.** This is a hard blocker to use Hyper as a proxy server without worrying about the unexpected normalization by Hyper....
This backports the relevant changes from https://github.com/hyperium/h2/issues/731. Happy to drop the changed default if minimizing disruption to existing users is preferred, but I suspect the current behavior is detrimental to...
The following spurious test failure has been observed in Tokio's CI setup: ``` failures: ---- conn::http2_connect_detect_close stdout ---- thread 'conn::http2_connect_detect_close' panicked at tests\client.rs:2377:14: drop with 1s: Elapsed(()) stack backtrace: 0:...
this commit introduces a new trait implementation for `hyper::client::conn::TrySendError`. this commit allows a `TrySendError` to be constructed `From` a conventional `hyper::Error`. one example of a motivating use case for this...
this change is motivated by aiming to use interfaces like `hyper::client::conn::http2::SendRequest::try_send_request()` or `hyper::client::conn::http1::SendRequest::try_send_request()` in the context of tower middleware; the `Service` trait's signature is such that the same error type...
Hi I am volunteering for the Tor Project which is making a new implementation in Rust called Arti. Previously we had [a crate](https://docs.rs/arti-hyper/latest/arti_hyper/ ) providing an extra layer on `hyper`...
**Version** Hyper 0.14.30 **Platform** ALL **Description** In my user case I use hyper as server and config it with a fixed http1_max_buf_size ``` hyper::Server::builder(incoming) .http1_max_buf_size(64 * 1024) ..serve(hyper::service::make_service_fn(... ) ```...
It'd be cool to get the docs on [`IncompleteMessage` and similar `Kind`s](https://github.com/hyperium/hyper/blob/042c770603a212f22387807efe4fc672959df40c/src/error.rs#L22) on docs.rs. Currently, they're hidden and google searching finds you to the source code first. They seemed to...
Expose h2's server `Connection::has_streams()` introduced in hyperium/h2#838, allowing external keepalive timeout management. Since hyper's Connection does not have a h2 Connection during handshake, I've exposed a `Connection::has_handshake_completed()`, but I'm not...
Introduces aliases for each feature flag as well as for the main combinations of http version and client/server roles. This makes it significantly easier to understand which feature flags are...