Skip to content

Commit

Permalink
Support graceful shutdown on "auto conn" (#66)
Browse files Browse the repository at this point in the history
* remove references from `ReadVersion`

* expose `fn graceful_shutdown(self: Pin<&mut Self>)` on Connection

* support graceful shutdown on upgradeable connections

* format

* update to hyper 1.1.0
  • Loading branch information
davidpdrsn authored Dec 19, 2023
1 parent 61724d1 commit 85a92f3
Show file tree
Hide file tree
Showing 2 changed files with 281 additions and 49 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ features = ["full"]
rustdoc-args = ["--cfg", "docsrs"]

[dependencies]
hyper = "1.0.0"
hyper = "1.1.0"
futures-channel = "0.3"
futures-util = { version = "0.3.16", default-features = false }
http = "1.0"
Expand All @@ -31,7 +31,7 @@ tower-service ={ version = "0.3", optional = true }
tower = { version = "0.4.1", optional = true, features = ["make", "util"] }

[dev-dependencies]
hyper = { version = "1.0.0", features = ["full"] }
hyper = { version = "1.1.0", features = ["full"] }
bytes = "1"
http-body-util = "0.1.0"
tokio = { version = "1", features = ["macros", "test-util"] }
Expand Down
Loading

0 comments on commit 85a92f3

Please sign in to comment.