mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-03 23:20:25 +08:00
套餐可以设置带宽限制
This commit is contained in:
@@ -201,9 +201,10 @@ func (this *HTTPRequest) Do() {
|
||||
|
||||
// 流量限制
|
||||
if this.ReqServer.TrafficLimitStatus != nil && this.ReqServer.TrafficLimitStatus.IsValid() {
|
||||
this.doTrafficLimit()
|
||||
this.doEnd()
|
||||
return
|
||||
if this.doTrafficLimit(this.ReqServer.TrafficLimitStatus) {
|
||||
this.doEnd()
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
// WAF
|
||||
|
||||
Reference in New Issue
Block a user