From 2d3b6c659e8c290069b6d6c33575205366f6aa14 Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Mon, 20 Sep 2021 09:55:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8F=8D=E5=90=91=E4=BB=A3?= =?UTF-8?q?=E7=90=86sticky=E8=B0=83=E5=BA=A6=E7=AE=97=E6=B3=95=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E7=94=9F=E6=95=88=E7=9A=84Bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/nodes/http_request_reverse_proxy.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/nodes/http_request_reverse_proxy.go b/internal/nodes/http_request_reverse_proxy.go index 5fe8772..c28b14f 100644 --- a/internal/nodes/http_request_reverse_proxy.go +++ b/internal/nodes/http_request_reverse_proxy.go @@ -33,7 +33,9 @@ func (this *HTTPRequest) doReverseProxy() { // 源站 requestCall := shared.NewRequestCall() + requestCall.Request = this.RawReq origin := this.reverseProxy.NextOrigin(requestCall) + requestCall.CallResponseCallbacks(this.writer) if origin == nil { err := errors.New(this.requestPath() + ": no available backends for reverse proxy") remotelogs.Error("HTTP_REQUEST_REVERSE_PROXY", err.Error())