实现缓存策略最大容量

This commit is contained in:
GoEdgeLab
2020-10-05 20:23:18 +08:00
parent 9c0c772226
commit b4cfc33875
6 changed files with 70 additions and 7 deletions

View File

@@ -147,5 +147,6 @@ func (this *HTTPRequest) doCacheRead() (shouldStop bool) {
return
}
this.cacheRef = nil // 终止读取不再往下传递
return true
}