mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-27 18:40:28 +08:00
优化OSS相关代码
This commit is contained in:
@@ -286,7 +286,7 @@ func (this *HTTPRequest) doOriginRequest(failedOriginIds []int64, failedLnNodeId
|
||||
resp, requestErr = client.Do(this.RawReq)
|
||||
} else if origin.OSS != nil { // OSS源站
|
||||
var goNext bool
|
||||
resp, goNext, requestErrCode, requestErr = this.doOSSOrigin(origin)
|
||||
resp, goNext, requestErrCode, _, requestErr = this.doOSSOrigin(origin)
|
||||
if requestErr == nil {
|
||||
if resp == nil || !goNext {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user