From 649809fcab4ba1040c131c4b158ec1ab965c69ee Mon Sep 17 00:00:00 2001 From: qydysky Date: Tue, 8 Oct 2024 09:07:10 +0800 Subject: [PATCH] Update http.go --- http.go | 1 - 1 file changed, 1 deletion(-) diff --git a/http.go b/http.go index 1311e77..1a600fc 100644 --- a/http.go +++ b/http.go @@ -114,7 +114,6 @@ func (httpDealer) Deal(ctx context.Context, w http.ResponseWriter, r *http.Reque } else if !ok { logger.Warn(`W:`, fmt.Sprintf(logFormat, r.RemoteAddr, chosenBack.route.config.Addr, routePath, chosenBack.Name, "BLOCK", ErrHeaderCheckFail, time.Since(opT))) w.Header().Add(header+"Error", ErrHeaderCheckFail.Error()) - w.WriteHeader(http.StatusForbidden) return ErrHeaderCheckFail } -- 2.39.2