mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-28 11:10:26 +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)
|
resp, requestErr = client.Do(this.RawReq)
|
||||||
} else if origin.OSS != nil { // OSS源站
|
} else if origin.OSS != nil { // OSS源站
|
||||||
var goNext bool
|
var goNext bool
|
||||||
resp, goNext, requestErrCode, requestErr = this.doOSSOrigin(origin)
|
resp, goNext, requestErrCode, _, requestErr = this.doOSSOrigin(origin)
|
||||||
if requestErr == nil {
|
if requestErr == nil {
|
||||||
if resp == nil || !goNext {
|
if resp == nil || !goNext {
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user