urllib2 Keep-alive spike

Alex J. Champandard bazaalist-100806 at ai-depot.com
Fri Sep 1 09:52:27 BST 2006


Martin Pool wrote:
>
> 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.
>
>   

It is unmaintained, but it's done Keep-alive since 2004 (though the code 
I used may not be enabled
by default). I've also found it very reliable.

I guess someone should look at the code to see how much can be 
cannibalized. I expect quite a lot
can be, and it would certainly help to get it in sooner rather than 
later (with DIY). So far with bzr,
these connection problems have been my biggest problem by a long shot...

Alex





More information about the bazaar mailing list