Comment #3 on issue 28994 by [email protected]: Crash -  
net::HttpCache::ConvertWriterToReader
http://code.google.com/p/chromium/issues/detail?id=28994

Actually, in order for this to happen, we need:

1. disk_cache->ReadSparseData() returns 0
2. disk_cache->GetAvailableRange() returns > 0
3. disk_cache->ReadSparseData() returns 0
4. disk_cache->GetAvailableRange() returns 0
5. network->BeginNetworkRequest() returns 0

step number 2 doesn't make sense (it should return 0, if read() already  
returned 0.
If it doesn't go back to return 0 after the first time (aka, returns 0 at  
step 4),
we'll have an infinite recursion...

So if steps 2 returns 0 (so we jump to step 4), it means that the one that  
deleted
the entry was OnNetworkInfoAvailable(). That requires a 304 followed by  
200/416 from
the server :(


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

-- 
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs

Reply via email to