mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-12-23 13:26:35 +08:00
Websocket也支持失败自动重试
This commit is contained in:
@@ -240,7 +240,7 @@ func (this *HTTPRequest) doOriginRequest(failedOriginIds []int64, failedLnNodeId
|
||||
|
||||
// 判断是否为Websocket请求
|
||||
if this.RawReq.Header.Get("Upgrade") == "websocket" {
|
||||
this.doWebsocket(requestHost)
|
||||
shouldRetry = this.doWebsocket(requestHost, isLastRetry)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user