hyper-util icon indicating copy to clipboard operation
hyper-util copied to clipboard

Common utilities used with hyper.

Results 30 hyper-util issues
Sort by recently updated
recently updated
newest added

Upgrades to the recently released [tower v0.5](https://github.com/tower-rs/tower/releases/tag/tower-0.5.0)

This is a prototype of my idea proposed in https://github.com/hyperium/hyper/issues/3727#issuecomment-2273756068. The obvious downside of this approach is that this is a breaking change as the return type of `Error::connect_info()` is...

See https://github.com/hyperium/hyper/pull/3743 Draft until #3743 is merged. ## Testing - [x] Tested in my app ```toml # Cargo.toml [patch.crates-io] hyper = { git = "https://github.com/finnbear/hyper", branch = "idle_timeout" } hyper-util...

The `client::legacy::connect::HttpConnector` type has a method `set_interface` that configures the connector to bind TCP connections only on the provided interface name. Presently, this is enabled only on Linux, Android, and...

cc hyperium/hyper#3851 builds atop hyperium/hyper-util#140 Adds `Socks` connector. Didn't pull existing crates as it's a simple enough protocol. Behaviour is there, clean up still necessary for error handling, etc... `connect()`...

cc https://github.com/hyperium/hyper/issues/3850 continued work on PR Draft #171 Because the "system-proxies" introduced quite a few lines of code, I decided to split the matcher.rs into multiple files (`builder.rs`, `matcher.rs`, `no_proxy.rs`,...

cc https://github.com/hyperium/hyper/issues/3850

Sometimes we might want to retry a request if for instance we have a partial write/read and server has dropped connection. This PR allows us to match on the error...

- Add a field `is_reused` to `Connected` and a method exposing `is_reused`. - Add a new function `mark_as_reused` in the `Poolable` interface that allows to mark a connection as reused....