InstantMirror initial source repo

Ed Swierk eswierk at arastra.com
Wed Nov 21 20:09:52 UTC 2007


On 11/21/07, Tony Nelson <tonynelson at georgeanelson.com> wrote:
> I'm new to mod_python, but it is documented to be able to do /anything/
> that could be a response from Apache.  If the handler were to fetch the
> data itself it could write a local file and also return the data to the
> client, by calling urlopen() and then read(), write(), and req.write()
> repeatedly.  I don't know if the reads and writes will overlap.

I just implemented this in InstantMirror. The complication I feared
was handling byte range requests properly. But I don't handle them at
all (i.e. they get treated as full file requests), and yum/urllib
doesn't complain.

--Ed




More information about the fedora-devel-list mailing list