On Wed, Feb 9, 2011 at 7:42 PM, Daniel Stenberg <[email protected]> wrote: > On Wed, 9 Feb 2011, Tolas Anon wrote: > >> but isn't libcurl supposed to use keep-alive, since it's using http/1.1? > > The HTTP term is persistent connections. > > You're only doing one request, so HTTP 1.1's persistent connections aren't > involved here since it is about re-using the same connection for multiple > requests. > > The TCP term "keep-alive" is about a TCP option to prevent the connection to > go completely silent. (The ability to control that option varies greatly > between operating systems.) > > libcurl itself doesn't set that option but anyone using libcurl can easily > do so using the mechanisms libcurl provide - like for example the command > line tool curl does. I don't think PHP uses it, but I'm not sure. > > -- are you trying to tell me that i'm better off just outputting a weird byte every 25 seconds and stripping them in the calling script? ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
- Re: php curl_exec won't return any data, libcurl-7.21.3.0,... Tolas Anon
- Re: php curl_exec won't return any data, libcurl-7.21.3.0,... Daniel Stenberg
- Re: php curl_exec won't return any data, libcurl-7.21.3.0,... Tolas Anon
- Re: php curl_exec won't return any data, libcurl-7.21.3.0,... Tolas Anon
- Re: php curl_exec won't return any data, libcurl-7.21.3.0,... Tolas Anon
- Re: php curl_exec won't return any data, libcurl-7.21.3.0,... Daniel Stenberg
- Re: php curl_exec won't return any data, libcurl-7.21.3.0,... Tolas Anon
- Re: php curl_exec won't return any data, libcurl-7.21.3.0,... Daniel Stenberg
- Re: php curl_exec won't return any data, libcurl-7.21.3.0,... Tolas Anon
- Re: php curl_exec won't return any data, libcurl-7.21.3.0,... Daniel Stenberg
- Re: php curl_exec won't return any data, libcurl-7.21.3.0,... Tolas Anon
- Re: php curl_exec won't return any data, libcurl-7.21.3.0,... Tolas Anon
- Re: php curl_exec won't return any data, libcurl-7.21.3.0,... Tolas Anon
- Re: php curl_exec won't return any data, libcurl-7.21.3.0,... Tolas Anon
- Re: php curl_exec won't return any data, libcurl-7.21.3.0,... Tor Arntsen
- Re: php curl_exec won't return any data, libcurl-7.21.3.0,... Tolas Anon
- Re: php curl_exec won't return any data, libcurl-7.21.3.0,... Daniel Stenberg
- Re: php curl_exec won't return any data, libcurl-7.21.3.0,... Tolas Anon
- Re: php curl_exec won't return any data, libcurl-7.21.3.0,... Daniel Stenberg
- Re: php curl_exec won't return any data, libcurl-7.21.3.0,... Tolas Anon
- Re: php curl_exec won't return any data, libcurl-7.21.3.0,... Daniel Stenberg
