From d51b5019ab491ff074266e7c3b401899c3d8f279 Mon Sep 17 00:00:00 2001 From: nange Date: Mon, 5 Aug 2024 11:18:47 +0800 Subject: [PATCH] Revert "chore: update padding size" This reverts commit b34b3545a7b14bf4037ca6fa3b351f7cb77e7505. --- cipherstream/frame.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cipherstream/frame.go b/cipherstream/frame.go index 9c1566af..6bae1fad 100644 --- a/cipherstream/frame.go +++ b/cipherstream/frame.go @@ -13,9 +13,9 @@ import ( const ( Http2HeaderLen = 9 - PaddingSize = 96 - MaxPaddingSize = 128 - MinPaddingSize = 32 + PaddingSize = 64 + MaxPaddingSize = 255 + MinPaddingSize = 64 ) type FrameType uint8