实现缓存策略最大容量

This commit is contained in:
刘祥超
2020-10-05 20:23:18 +08:00
parent 78a2480836
commit 6d2f18387f
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
}