<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>162160</bug_id>
          
          <creation_ts>2007-01-15 05:38 0000</creation_ts>
          <short_desc>net-proxy/polipo: throws a &quot;502: Range without partial content&quot; error with mythweb downloads</short_desc>
          <delta_ts>2007-01-15 12:11:51 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>hwertz@avalon.net</reporter>
          <assigned_to>net-proxy@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>hwertz@avalon.net</who>
            <bug_when>2007-01-15 05:38:58 0000</bug_when>
            <thetext>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&apos;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&apos;m pulling it over 802.11G, so it doesn&apos;t take hours.

     I&apos;m going to attach a patch that fixes this shortly.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hwertz@avalon.net</who>
            <bug_when>2007-01-15 05:50:12 0000</bug_when>
            <thetext>Created an attachment (id=107033)
a fix for this bug

     This patch is pretty self-explanatory I think.  I do not know what &quot;Damn anakata&quot; 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 #&apos;s were also wrong, so I patched the relevant lines in manually and made a new patch from it.  Enjoy!

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mrness@gentoo.org</who>
            <bug_when>2007-01-15 12:11:51 0000</bug_when>
            <thetext>fixed in 0.9.11.
thanks!</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>107033</attachid>
            <date>2007-01-15 05:50 0000</date>
            <desc>a fix for this bug</desc>
            <filename>polipo.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">KioqIHNlcnZlci5jLm9yaWcJU2F0IFNlcCAgMiAxMjozMzo0NCAyMDA2Ci0tLSBzZXJ2ZXIuYwlT
dW4gSmFuIDE0IDIzOjI3OjA0IDIwMDcKKioqKioqKioqKioqKioqCioqKiAxODMxLDE4NDIgKioq
KgogICAgICAgICAgfQogICAgICB9IGVsc2UgaWYoY29kZSA8IDQwMCAmJiAKICAgICAgICAgICAg
ICAgIChjb250ZW50X3JhbmdlLmZyb20gPj0gMCB8fCBjb250ZW50X3JhbmdlLnRvID49IDAgfHwg
CiAgICAgICAgICAgICAgICAgY29udGVudF9yYW5nZS5mdWxsX2xlbmd0aCA+PSAwKSkgewohICAg
ICAgICAgZG9fbG9nKExfRVJST1IsICJSYW5nZSB3aXRob3V0IHBhcnRpYWwgY29udGVudC5cbiIp
OwohICAgICAgICAgaHR0cFNlcnZlckFib3J0KGNvbm5lY3Rpb24sIDEsIDUwMiwKISAgICAgICAg
ICAgICAgICAgICAgICAgICBpbnRlcm5BdG9tKCJSYW5nZSB3aXRob3V0IHBhcnRpYWwgY29udGVu
dCIpKTsKISAgICAgICAgIGdvdG8gZmFpbDsKICAgICAgfSBlbHNlIGlmKGNvZGUgIT0gMzA0ICYm
IGNvZGUgIT0gNDEyKSB7CiAgICAgICAgICBmdWxsX2xlbiA9IGxlbjsKICAgICAgfQogIAotLS0g
MTgzMSwxODQzIC0tLS0KICAgICAgICAgIH0KICAgICAgfSBlbHNlIGlmKGNvZGUgPCA0MDAgJiYg
CiAgICAgICAgICAgICAgICAoY29udGVudF9yYW5nZS5mcm9tID49IDAgfHwgY29udGVudF9yYW5n
ZS50byA+PSAwIHx8IAogICAgICAgICAgICAgICAgIGNvbnRlbnRfcmFuZ2UuZnVsbF9sZW5ndGgg
Pj0gMCkpIHsKISAgICAgICAgIGRvX2xvZyhMX1dBUk4sICJSYW5nZSB3aXRob3V0IHBhcnRpYWwg
Y29udGVudC5cbiIpOwohICAgICAgICAgLyogRGFtbiBhbmFrYXRhLiAqLwohICAgICAgICAgY29u
dGVudF9yYW5nZS5mcm9tID0gLTE7CiEgICAgICAgICBjb250ZW50X3JhbmdlLnRvID0gLTE7CiEg
ICAgICAgICBjb250ZW50X3JhbmdlLmZ1bGxfbGVuZ3RoID0gLTE7CiAgICAgIH0gZWxzZSBpZihj
b2RlICE9IDMwNCAmJiBjb2RlICE9IDQxMikgewogICAgICAgICAgZnVsbF9sZW4gPSBsZW47CiAg
ICAgIH0KICAK
</data>        

          </attachment>
    </bug>

</bugzilla>