> Subject: Bug#402490: polipo: Incorrectly caches 302 responses, breaking > LiveJournal
Oh my, what a silly bug -- I've confused 301 and 302. I'm attaching a fix -- could you please confirm whether it fixes LiveJournal? Thanks, Juliusz diff -rN -u old-polipo/server.c new-polipo/server.c --- old-polipo/server.c 2006-12-11 16:32:34.000000000 +0100 +++ new-polipo/server.c 2006-12-11 16:32:34.000000000 +0100 @@ -2179,7 +2179,7 @@ code != 403 && code != 404 && code != 405 && code != 416) { new_object->cache_control |= (CACHE_NO_HIDDEN | OBJECT_LINEAR); } else if(code != 200 && code != 206 && - code != 300 && code != 302 && code != 304 && + code != 300 && code != 301 && code != 304 && code != 410) { if(new_object->expires < 0 && !(cache_control.flags & CACHE_PUBLIC)) { new_object->cache_control |= CACHE_NO_HIDDEN; -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]