> Partial might be a more optimum than invalid, but how can polipo make a
> range request out of this as it does not know the real size?
Range: bytes=1234-
This requests the content from byte 1234 up to the end of the file. See
server.c line 1648.
> If you try my steps below, It showes that polipo take the file size as
> Content-Length.
> The partial cache file without Content-Length is not easy to
> reproduce, so I can give a trace.
Please do, I'll be grateful. It definitely looks like you've found a bug.
> My disk for the cache is of 100+ gigs, so out of disk space is not the
> issue.
Polipo is supposed to react gracefully to error conditions, so unless
you're using a buggy filesystem (cough ext4 cough) and your system
crashes, there should be no cache corruption in this case.
> Such partial file without Content-Length do not happen often.
They do happen whenever you interrupt a large download that is going
through Polipo, or view streaming video using Polipo. While this might
not be what *you* use Polipo for, I believe it is an important use case.
Juliusz
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Polipo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/polipo-users