From 53dde0ba7d06ef7eeb45259d7287ea39aebfa884 Mon Sep 17 00:00:00 2001 From: John Howard Date: Thu, 2 May 2024 07:11:51 -0700 Subject: [PATCH] Use upstream h2 For https://github.com/istio/ztunnel/issues/1000 --- Cargo.lock | 2 +- Cargo.toml | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6d59f2ba0..f438ebed4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1038,7 +1038,7 @@ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" [[package]] name = "h2" version = "0.4.4" -source = "git+https://github.com/howardjohn/h2?rev=a9dae872ba67f0f7f518190d410cadcdda24628a#a9dae872ba67f0f7f518190d410cadcdda24628a" +source = "git+https://github.com/hyperium/h2?rev=be129832df989bf28940da3618827e190ae64ef2#be129832df989bf28940da3618827e190ae64ef2" dependencies = [ "bytes", "fnv", diff --git a/Cargo.toml b/Cargo.toml index 17886eb24..f624e5420 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,4 +1,3 @@ -patch = { crates-io = { h2 = { git = "https://github.com/howardjohn/h2", rev = "a9dae872ba67f0f7f518190d410cadcdda24628a" } } } [package] name = "ztunnel" version = "0.0.0" @@ -141,3 +140,7 @@ test-case = "3.3" oid-registry = "0.7" rcgen = { version = "0.13", features = ["pem", "x509-parser"] } ctor = "0.2" + +[patch.crates-io] +# TODO h2 0.4.5 (https://github.com/istio/ztunnel/issues/1000) +h2 = { git = "https://github.com/hyperium/h2", rev = "be129832df989bf28940da3618827e190ae64ef2" }