curl-library
Re: Re: Problems while using curl to do push
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 16 May 2008 09:09:14 +0200 (CEST)
Date: Fri, 16 May 2008 09:09:14 +0200 (CEST)
On Fri, 16 May 2008, wangjun wrote:
Please don't top-post.
> Would you please tell me how to change the 10 minute connection timeout?
>
> Is it change the curl configuration or NAT Server configuration?
That's not something libcurl does, it's your network/NAT/firewall that does
it.
You can often fix the problem by setting a keep-alive option on the socket
libcurl uses, and you do that by using the CURLOPT_SOCKOPTFUNCTION callback.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2008-05-16