cache scan issues
-----------------
Key: TS-752
URL: https://issues.apache.org/jira/browse/TS-752
Project: Traffic Server
Issue Type: Bug
Components: Cache
Affects Versions: 2.1.4, 2.1.5, 2.1.6, 2.1.7
Environment: Any
Reporter: William Bardwell
Attachments: svn4.diff
Using the CacheScan plugin APIs I found a few issues.
Issue 1 is that if you cancel a scan really quickly you can get a NULL
dereference, the fix for this is easy.
Issue 2 is that the cache scan code can skip over entries if the initial header
overlaps a buffer boundary.
Issue 3 is that the cache scan code is crazy slow if your cache is not full, it
still scans everything.
I will attach a patch for Issues 2 & 3 mixed together...
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira