mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-12-08 19:00:54 +08:00
修复反向代理Hash调度算法无法生效的Bug
This commit is contained in:
@@ -34,6 +34,7 @@ func (this *HTTPRequest) doReverseProxy() {
|
|||||||
// 源站
|
// 源站
|
||||||
requestCall := shared.NewRequestCall()
|
requestCall := shared.NewRequestCall()
|
||||||
requestCall.Request = this.RawReq
|
requestCall.Request = this.RawReq
|
||||||
|
requestCall.Formatter = this.Format
|
||||||
origin := this.reverseProxy.NextOrigin(requestCall)
|
origin := this.reverseProxy.NextOrigin(requestCall)
|
||||||
requestCall.CallResponseCallbacks(this.writer)
|
requestCall.CallResponseCallbacks(this.writer)
|
||||||
if origin == nil {
|
if origin == nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user