curl-and-python

Re: http persistence in pycurl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 8 Jul 2011 14:33:26 +0200 (CEST)

On Fri, 8 Jul 2011, Konstantinos Botsaris wrote:

> Thanks Daniel for the quick response! I have another one small question
> regarding curl object requests through SOCKS5 proxies to web servers. Are
> there any other options to set for the curl object except from the
> standard(proxy address,authorisation etc) to support persistent connections
> through the proxies to the web servers or this is established by default?

Using a proxy, whatever kind, doesn't change the basic idea. You will get
persistent connections when you re-use the handle as long as it is possible.
If it isn't possible, libcurl will transparently handle creating new
connections if need be.

-- 
  / daniel.haxx.se
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
Received on 2011-07-08