From d2628f2cbb1ed167ccb6550f63132ad3c7d7f1a6 Mon Sep 17 00:00:00 2001 From: tanghuafa Date: Thu, 24 Jun 2021 16:17:49 +0800 Subject: [PATCH] fix: stuct name typo --- pkg/plugin/client/http2https.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/plugin/client/http2https.go b/pkg/plugin/client/http2https.go index ddf559ae..3074cddf 100644 --- a/pkg/plugin/client/http2https.go +++ b/pkg/plugin/client/http2https.go @@ -60,7 +60,7 @@ func NewHTTP2HTTPSPlugin(params map[string]string) (Plugin, error) { listener := NewProxyListener() - p := &HTTPS2HTTPPlugin{ + p := &HTTP2HTTPSPlugin{ localAddr: localAddr, hostHeaderRewrite: hostHeaderRewrite, headers: headers,