cURL / Mailing Lists / curl-library / Single Mail


Re: Re: Problems while using curl to do push

From: Daniel Stenberg <>
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

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:
Received on 2008-05-16