Hi list,

I ran into some problems when using maxDiskCacheEntrySize and  
downloading large files. As I could not find anything in the archives  
I am posting here.

The problem seems to occur if maxDiskCacheEntrySize is set (for  
example to 1024K) and a file is downloaded which is larger than the  
in-memory cache (in my case 8192K). In that case it starts  
downloading the file just fine until the in-memory cache is  
exhausted, then the download blocks in the web browser but polipo  
continues to download from the net. Every two minutes or so the web  
browser will continue the download for a few megabytes and in the end  
it actually will have the whole file, but it seems that polipo in the  
background downloaded the file about 4 times over.

Is this a bug or is the idea that if maxDiskCacheEntrySize is set  
then the in-memory cache has to be big enough for the largest file  
(although that would be kind of inconvenient)?

Any ideas? The reason I am using maxDiskCacheEntrySize is that I  
would like to cache smaller files, but if it also caches larger files  
then it will always use twice the amount of space on the hard drive  
and I will not download large files so often that there is any sense  
in caching them in polipo.

Any help or info would be appreciated.

Regards,

Roman Schlegel


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Polipo-users mailing list
Polipo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/polipo-users

Reply via email to