0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-08 07:16:56 -05:00

fix(ext/fetch): update h2 to fix sending a PROTOCOL_ERROR instead of REFUSED_STREAM when receiving oversized headers (#27531)

Fixes #26490

Related PR in h2 https://github.com/hyperium/h2/pull/792  
Related release of h2 https://github.com/hyperium/h2/releases/tag/v0.4.6
This commit is contained in:
Cre3per 2025-01-27 00:04:53 +01:00 committed by GitHub
parent 23adf99e83
commit be080784dd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 17 additions and 11 deletions

26
Cargo.lock generated
View file

@ -347,6 +347,12 @@ dependencies = [
"pin-project-lite",
]
[[package]]
name = "atomic-waker"
version = "1.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0"
[[package]]
name = "auto_impl"
version = "1.2.0"
@ -1706,7 +1712,7 @@ dependencies = [
"dyn-clone",
"error_reporter",
"fast-socks5",
"h2 0.4.4",
"h2 0.4.7",
"hickory-resolver",
"http 1.1.0",
"http-body-util",
@ -2061,7 +2067,7 @@ dependencies = [
"elliptic-curve",
"errno",
"faster-hex",
"h2 0.4.4",
"h2 0.4.7",
"hkdf",
"http 1.1.0",
"http-body-util",
@ -2591,7 +2597,7 @@ dependencies = [
"deno_permissions",
"deno_tls",
"fastwebsockets",
"h2 0.4.4",
"h2 0.4.7",
"http 1.1.0",
"http-body-util",
"hyper 1.4.1",
@ -3851,15 +3857,15 @@ dependencies = [
[[package]]
name = "h2"
version = "0.4.4"
version = "0.4.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "816ec7294445779408f36fe57bc5b7fc1cf59664059096c65f905c1c61f58069"
checksum = "ccae279728d634d083c00f6099cb58f01cc99c145b84b8be2f6c74618d79922e"
dependencies = [
"atomic-waker",
"bytes",
"fnv",
"futures-core",
"futures-sink",
"futures-util",
"http 1.1.0",
"indexmap 2.3.0",
"slab",
@ -4231,7 +4237,7 @@ dependencies = [
"bytes",
"futures-channel",
"futures-util",
"h2 0.4.4",
"h2 0.4.7",
"http 1.1.0",
"http-body 1.0.0",
"httparse",
@ -6443,7 +6449,7 @@ dependencies = [
"bytes",
"futures-core",
"futures-util",
"h2 0.4.4",
"h2 0.4.7",
"http 1.1.0",
"http-body 1.0.0",
"http-body-util",
@ -7984,7 +7990,7 @@ dependencies = [
"flate2",
"futures",
"glob",
"h2 0.4.4",
"h2 0.4.7",
"http 1.1.0",
"http-body-util",
"hyper 1.4.1",
@ -8278,7 +8284,7 @@ dependencies = [
"axum",
"base64 0.22.1",
"bytes",
"h2 0.4.4",
"h2 0.4.7",
"http 1.1.0",
"http-body 1.0.0",
"http-body-util",

View file

@ -142,7 +142,7 @@ flate2 = { version = "1.0.30", default-features = false }
fs3 = "0.5.0"
futures = "0.3.21"
glob = "0.3.1"
h2 = "0.4.4"
h2 = "0.4.6"
hickory-resolver = { version = "0.25.0-alpha.4", features = ["tokio-runtime", "serde"] }
http = "1.0"
http-body = "1.0"