cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: php curl_exec won't return any data, libcurl-7.21.3.0, php 5.3.4, WampServer2.1d-x64.exe

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 10 Feb 2011 11:36:10 +0100 (CET)

On Thu, 10 Feb 2011, Tolas Anon wrote:

>> ... but it can enable and use TCP keep-alive.
>
> ok, can you tell me how to do this? or should i google for it..?

It has to be done by the app that uses libcurl, and since the command line
tool curl already does it I guess it can serve as a pretty good example. See

https://github.com/bagder/curl/blob/master/src/main.c#L1729

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-02-10