[反向代理]实验性添加TOA支持

This commit is contained in:
刘祥超
2020-12-03 10:17:28 +08:00
parent 49d3c1b586
commit 60e971e79b
15 changed files with 228 additions and 18 deletions

View File

@@ -140,7 +140,7 @@ func (this *HTTPRequest) doReverseProxy() {
}
// 获取请求客户端
client, err := SharedHTTPClientPool.Client(origin, originAddr)
client, err := SharedHTTPClientPool.Client(this.RawReq, origin, originAddr)
if err != nil {
logs.Error("REQUEST_REVERSE_PROXY", err.Error())
this.write502(err)