-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Comparing changes
Open a pull request
base repository: hyperium/hyper
base: v1.6.0
head repository: hyperium/hyper
compare: master
- 13 commits
- 29 files changed
- 10 contributors
Commits on Mar 16, 2025
-
docs(ffi): remove redundant backticks (#3855)
Signed-off-by: jimmycathy <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 68bae2b - Browse repository at this point
Copy the full SHA 68bae2bView commit details
Commits on Mar 24, 2025
-
test(body): add proper cfgs to body unit tests (#3864)
Running `cargo test` fails to compile because tests rely on types which are behind a #[cfg(…)] which is disabled by default. Add a #[cfg(…)] directive to tests which rely on types which are also behind a #[cfg(…)] directive, so that these tests run only if the types on which they depend exist.
Configuration menu - View commit details
-
Copy full SHA for c449528 - Browse repository at this point
Copy the full SHA c449528View commit details
Commits on Apr 4, 2025
-
docs(service): add
HttpService
documentation (#3869)this commit introduces some additional documentation to the `HttpService` trait, and the `Service` trait. notably, this commit introduces some intradoc links, so that rustdoc will render links to types like `http::Request` and `http::Response`, or to the `Body` trait. additionally, mention of `hyper-util` is added to the `Service` trait, to direct users to the glue implementations that they will likely need to interact with e.g. `tower`. Signed-off-by: katelyn martin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ede24d2 - Browse repository at this point
Copy the full SHA ede24d2View commit details
Commits on Apr 7, 2025
-
Configuration menu - View commit details
-
Copy full SHA for ea5b49b - Browse repository at this point
Copy the full SHA ea5b49bView commit details
Commits on Apr 21, 2025
-
1
Configuration menu - View commit details
-
Copy full SHA for 0369f5e - Browse repository at this point
Copy the full SHA 0369f5eView commit details
Commits on Apr 28, 2025
-
chore(proto/h2): fix module-level documentation (#3881)
`proto::h2::ping` has some documentation that won't be rendered properly, because it is written as documentation of an item rather than documenting the enclosing submodule. this commit updates this comment, using `//!` notation. Signed-off-by: katelyn martin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 12d9b55 - Browse repository at this point
Copy the full SHA 12d9b55View commit details
Commits on May 6, 2025
-
feat(client): add a
TrySendError::message()
method (#3884)this commit introduces a new inherent method to `hyper::client::conn::TrySendError<T>`. this error type includes a `TrySendError::take_message()` method today that will return an owned instance of the inbound message, should the underlying dispatch have been closed before serialization of the message ever began. this commit introduces a new method that allows callers to inspect the message, e.g. to update metrics, without needing to take ownership of the message. Signed-off-by: katelyn martin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 03fd6af - Browse repository at this point
Copy the full SHA 03fd6afView commit details -
feat(client): add a
TrySendError::error()
method (#3885)this commit introduces a new inherent method to `hyper::client::conn::TrySendError<T>`. this error type includes a `TrySendError::into_error()` method today that will consume the `TrySendError<T>`, returning the inner error. this commit introduces a new method that allows callers to inspect the error, e.g. to update metrics, without needing to consume the error. this is akin to #3884, which added the `TrySendError::message()` method that returns a reference to the `T`-typed message when applicable. Signed-off-by: katelyn martin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for efa0b26 - Browse repository at this point
Copy the full SHA efa0b26View commit details -
Configuration menu - View commit details
-
Copy full SHA for 42aff87 - Browse repository at this point
Copy the full SHA 42aff87View commit details
Commits on May 19, 2025
-
refactor(lib): drop futures-util except in ffi (#3890)
Make hyper usable for h1/h2 and client/server without this heavyweight dependency. It's about 17k lines of code and takes up to 1.7 seconds to compile on my machine, but hyper is only using a tiny fraction of it. Larger applications probably still pull in futures-util by other means, but it's no longer as unavoidable as in the early days of the ecosystem. To remove futures-util without raising MSRV, I took these steps: * When futures-util just re-exports something from its dependencies, use it directly from the source. * Inline trivial helpers like `poll_unpin` that "only" communicate intent a little better but don't save any significant amount of code. * Refactor the h2 client code to avoid `StreamFuture` for the "Client has been dropped" detection -- just poll the mpsc channel directly. * Implement a couple of small helpers from scratch when they're straightforward and fit on one screen each. The majority of this is polyfills for standard library APIs that would require a higher MSRV. * Use `AtomicWaker` from the `atomic-waker` crate, a separately published copy of the futures-util type of the same name. While the two crates are owned by different organizations (smol-rs vs. rust-lang), it's mostly the same people maintaining both copies. The uses of future-util in hyper's tests/benches/examples and in the `ffi` module seem much harder to remove entirely, so I did not touch those modules at all.
Configuration menu - View commit details
-
Copy full SHA for e11b2ad - Browse repository at this point
Copy the full SHA e11b2adView commit details -
fix(server): improve caching accuracy of Date header (#3887)
`CachedDate` gets updated every second, but the current logic doesn't take into account milliseconds - if the application starts at `12:00:00.600`, hyper will report `date: ...T120000` up until `12:00:01.599`, which is overzealous. We can sidestep this by subtracing the nanoseconds part (which includes milliseconds) from the time passed to `CachedDate::update()`.
Configuration menu - View commit details
-
Copy full SHA for 436cadd - Browse repository at this point
Copy the full SHA 436caddView commit details
Commits on May 26, 2025
-
Configuration menu - View commit details
-
Copy full SHA for c88df78 - Browse repository at this point
Copy the full SHA c88df78View commit details
Commits on Jun 27, 2025
-
feat(error): add
Error::is_shutdown()
(#3863)Benchmarking tools often cause connections to be ungracefully shutdown. This makes it possible to filter these errors out. Closes #2745
1Configuration menu - View commit details
-
Copy full SHA for b8affd8 - Browse repository at this point
Copy the full SHA b8affd8View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.6.0...master