I found that more patch is required. Please change a diskcache.c patch of "my patch 1 of 2" to the followings. If possible, you would be better to remove all disk caches.
--- ./polipo-master/diskcache.c Fri Nov 21 09:15:36 2014 +++ ./polipo-1.1.2/diskcache.c Tue May 12 20:47:52 2015 @@ -854,14 +854,14 @@ int dummy; int code; AtomPtr headers; - time_t date, last_modified, expires, polipo_age, polipo_access; + time_t date = -1, last_modified = -1, expires = -1, polipo_age = -1, polipo_access = -1; int length; off_t offset = -1; int body_offset; - char *etag; + char *etag = NULL; AtomPtr via; CacheControlRec cache_control; - char *location; + char *location = NULL; AtomPtr message; int dirty = 0; @@ -1008,8 +1008,10 @@ } } - if(location) + if(location) { free(location); + location = NULL; + } if(headers) { if(!object->headers) @@ -1051,8 +1053,10 @@ if(!object->etag) object->etag = etag; else { - if(etag) + if(etag) { free(etag); + etag = NULL; + } } releaseAtom(message); @@ -2433,8 +2437,15 @@ long left = 0, total = 0; if(diskCacheRoot == NULL || - diskCacheRoot->length <= 0 || diskCacheRoot->string[0] != '/') - return; + diskCacheRoot->length <= 0 || +#ifdef WIN32 + !(isalpha(diskCacheRoot->string[0]) && (diskCacheRoot->string[1] == ':') && + ((diskCacheRoot->string[2] == '/') || (diskCacheRoot->string[2] == '\\'))) +#else + diskCacheRoot->string[0] != '/' +#endif + ) + return; fts_argv[0] = diskCacheRoot->string; fts_argv[1] = NULL; ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Polipo-users mailing list Polipo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/polipo-users