[RFC][PATCH]Speed improvement on the http transport: add keepalive support

Martin Pool mbp at sourcefrog.net
Wed Feb 22 03:33:20 GMT 2006


On Mon, 2006-02-20 at 15:43 -0600, John A Meinel wrote:

> I was looking over your code. You have some framework for allowing
> multiple transport handlers, but you don't seem to actually have that
> hooked up for pycurl.

Yes, I know.

> Further, I would avoid using a global state object (self.curl) inside a
> Transport. You don't really need it. It just gives you one less
> parameter to _set_cache_headers, and _curl_perform().

I wasn't sure from the pycurl docs if we needed to keep the object
around to get caching, but apparently not.  I'll change it.

-- 
Martin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060222/4392f1db/attachment.pgp 


More information about the bazaar mailing list