urllib2 Keep-alive spike

Martin Pool mbp at canonical.com
Fri Sep 1 09:09:12 BST 2006


On  1 Sep 2006, Michael Ellerman <michael at ellerman.id.au> wrote:
> On 9/1/06, Alex J. Champandard <bazaalist-100806 at ai-depot.com> wrote:
> >Hi,
> >
> >As you may know, I've been having lots of problems with connection
> >reliability and speed on my XP machine, connecting to a Twisted server.
> >I had different issues with both pycurl and urllib transports, but I
> >figured I should look into the urllib Keep-alive problem as it would be
> >more useful for the project.
> 
> That's the spirit! :)
> 
> I've been meaning to look at whether it'd be good to use urlgrabber in
> its entirety, but I haven't had time. Are you familiar with it? It
> looks like it might get us some of the things we want, and having it
> maintained as an external project is better in the long run I think.

I looked at it a while ago, but it seems unmaintained and doesn't
actually have some of the features the site says it will (in the
future?) have.   In particular when I last tested it didn't do
keepalive.

Maybe it's crazy, but I think it's best to just implement what we need
ourselves, as we did with multipart.

-- 
Martin




More information about the bazaar mailing list