Bug 162160 - net-proxy/polipo: throws a "502: Range without partial content" error with mythweb downloads
Bug#: 162160 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: net-proxy@gentoo.org Reported By: hwertz@avalon.net
Component: Applications
URL: 
Summary: net-proxy/polipo: throws a "502: Range without partial content" error with mythweb downloads
Keywords:  
Status Whiteboard: 
Opened: 2007-01-15 05:38 0000
Description:   Opened: 2007-01-15 05:38 0000
Summary about says it.. with polipo, if I login to my mythtv system to download
a video, I get a polipo cache error page with a 502.  I googled and found a
patch in freebsd's bug system.

Reproducible: Always

Steps to Reproduce:
1. install polipo, and mythweb
2. point seamonkey, firefox, whatever at it (localhost:8123)
3. point polipo at mythweb and pull a file.

Actual Results:  
     502 error page!

Expected Results:  
     500MB-1GB download.  Luckily I'm pulling it over 802.11G, so it doesn't
take hours.

     I'm going to attach a patch that fixes this shortly.

------- Comment #1 From Henry Wertz 2007-01-15 05:50:12 0000 -------
Created an attachment (id=107033) [details]
a fix for this bug

     This patch is pretty self-explanatory I think.  I do not know what "Damn
anakata" means in the patch.. I found it originally at
(apologies for the long URL...)
http://cvsup.pt.freebsd.org/cgi-bin/cvsweb/cvsweb.cgi/ports/www/polipo/files/
patches-aa had the goods and some config file location changes to make polipo
follow FreeBSD conventions.  Line #'s were also wrong, so I patched the
relevant lines in manually and made a new patch from it.  Enjoy!

------- Comment #2 From Alin Năstac 2007-01-15 12:11:51 0000 -------
fixed in 0.9.11.
thanks!