curl-and-python

Re: It is possible to set "TIME_WAIT" through pycurl?

From: Oleg Pudeyev <oleg+pycurl_at_bsdpower.com>
Date: Thu, 16 Jan 2014 23:45:55 -0500

Try CURLOPT_OPENSOCKETFUNCTION.

Oleg

--
Please remove +pycurl if mailing off list.
On Thu, 16 Jan 2014 22:58:32 +0000
Morgan Yang <Morgan.Yang_at_radisys.com> wrote:
> Hi All:
> 
> I have various stress tests for our REST API's. If I send to many
> messages, I would get "cannot assign requested address" error. This
> could be alleviated by changing the "TIME_WAIT" options in the socket
> connection code. I'm wondering can that be configured directly via
> PYCURL?  I didn't see it explicitly listed on
> http://curl.haxx.se/libcurl/c/curl_easy_setopt.html
> 
> Much Thanks
> Morgan Yang
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
Received on 2014-01-17