Skip to content

Commit 1ec95c7

Browse files
authored
chore(deps)!: bump h2 from 0.5.10 to 0.6.2 (#4460)
this crate updates the `h2` crate. while this is mechanically a routine dependency upgrade, this contains some noteworthy bug fixes that are worth calling out. see linkerd/linkerd2#14800 for additional context. see hyperium/h2#858 and hyperium/h2#860. > We don't want to remember the streams for forever, that would cause > memory to grow. Nor do we want to accept frames on those streams > without limit, since that would waste resources. Thus, we limit how > much we remember, by stream count and duration. > > This PR changes the defaults to be something perhaps a little more > reasonable: > > * 50 streams, a conservative amount of half of the recommending > minimum concurrent streams any remote SHOULD support. > > * 1 second, since the RFC only suggests about 1 RTT. We don't keep > track of RTT, but even p99 RTT is around 250ms, maybe 500ms. because this PR changes some defaults in `h2`, this is marked as a "breaking" change. this fixes linkerd/linkerd2#14908. X-ref: linkerd/linkerd2#14908 X-ref: hyperium/h2#858 X-ref: hyperium/h2#860 X-ref: hyperium/h2#853 X-ref: linkerd/linkerd2#14800 Signed-off-by: katelyn martin <kate@buoyant.io>
1 parent 6f672fa commit 1ec95c7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Cargo.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -838,9 +838,9 @@ dependencies = [
838838

839839
[[package]]
840840
name = "h2"
841-
version = "0.4.11"
841+
version = "0.4.13"
842842
source = "registry+https://github.com/rust-lang/crates.io-index"
843-
checksum = "17da50a276f1e01e0ba6c029e47b7100754904ee8a278f886546e98575380785"
843+
checksum = "2f44da3a8150a6703ed5d34e164b875fd14c2cdab9af1252a9a1020bde2bdc54"
844844
dependencies = [
845845
"atomic-waker",
846846
"bytes",
@@ -1040,7 +1040,7 @@ dependencies = [
10401040
"hyper",
10411041
"libc",
10421042
"pin-project-lite",
1043-
"socket2 0.6.2",
1043+
"socket2 0.5.10",
10441044
"tokio",
10451045
"tower-service",
10461046
"tracing",

0 commit comments

Comments
 (0)