Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(volo-http): bump to hyper 1.0.0
Note that `hyper` v1.0.0-rc4 replaces IO traits from `tokio` with its IO traits in `hyper::rt`. To solve the building problem, we can introduce `TokioIo` from `hyper-util` and wrap the `DefaultIncoming` by the `TokioIo`. Also, the `volo-grpc` uses `hyper` v0.14 with its auto-version (using both http1 and http2) and graceful shutdown, but the latest `hyper` and `hyper-util` cannot use the both features at the same time, so the version of `hyper` in `volo` has not been upgraded. Ref: - hyperium/hyper@f9f65b7 - hyperium/hyper#3013 - hyperium/hyper#2862 Signed-off-by: Yu Li <[email protected]>
- Loading branch information