jech / polipo

The Polipo caching HTTP proxy
http://www.pps.jussieu.fr/~jch/software/polipo/
MIT License
1.8k stars 354 forks source link

Version 1.1.1 does not write to disk cache #28

Closed drozdu closed 10 years ago

drozdu commented 10 years ago

Installation on Linux Arch diskCacheRoot = "/mnt/dysk1/polipo/"

It worked in version 1.1.0

jech commented 10 years ago

Works for me, and there's nothing between 1.1.0 and 1.1.1 that could have caused this to break. Please check the cache's permissions.

Is there anything in the log?

drozdu commented 10 years ago

Cache permissions are fine, I've tried to run as root also. log: cze 13 10:01:49 nas polipo[18416]: Established listening socket on port 8123. cze 13 10:03:18 nas polipo[18416]: Unsupported Cache-Control directive post-check -- ignored. cze 13 10:03:38 nas polipo[18416]: Unsupported Cache-Control directive pre-check -- ignored. cze 13 10:03:38 nas polipo[18416]: Unsupported Cache-Control directive post-check -- ignored. cze 13 10:03:38 nas polipo[18416]: Unsupported Cache-Control directive pre-check -- ignored. cze 13 10:03:38 nas polipo[18416]: Trailers or upgrade present. cze 13 10:03:38 nas polipo[18416]: Couldn't parse client headers.

jsarenik commented 10 years ago

drozdu, please just double-check if no SELinux magic is interfering. restorecon -R <path_to_cache_dir>

jech commented 10 years ago

Please let me know if it's an issue on my side.