From e6320c645ec357544a70b3fe0e3863460653f55a Mon Sep 17 00:00:00 2001 From: aba_aba_da_duo_duo <49055103+982945902@users.noreply.github.com> Date: Sun, 25 Jun 2023 16:04:35 +0800 Subject: [PATCH] Circumvent problem see: https://github.com/kubernetes/ingress-nginx/issues/2405 https://github.com/apache/brpc/issues/2286 --- src/brpc/details/hpack.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/brpc/details/hpack.h b/src/brpc/details/hpack.h index 05a5f30727..70746c883c 100644 --- a/src/brpc/details/hpack.h +++ b/src/brpc/details/hpack.h @@ -64,7 +64,7 @@ struct HPackOptions { }; inline HPackOptions::HPackOptions() - : index_policy(HPACK_INDEX_HEADER) + : index_policy(HPACK_NEVER_INDEX_HEADER) , encode_name(false) , encode_value(false) {}