cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

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)

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

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET