cURL / Mailing Lists / curl-library / Single Mail


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

From: Tolas Anon <>
Date: Fri, 11 Feb 2011 17:09:47 +0100

On Fri, Feb 11, 2011 at 1:32 PM, Daniel Stenberg <> wrote:
> On Fri, 11 Feb 2011, Tolas Anon wrote:
>>> It is also very easy for an application to enable the options as I've
>>> shown.
>> Just not for the platforms i use, apparently.. :(
> Why not? A quick search for "tcp keepalive windows" shows this:

BUYAKAA! This fixed my problem in the simple test AND in my application!
No need to send keep-alive bytes on the text/html level either.

I just added the "KeepAliveTime" setting with windows 7 regedit.exe in
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/services/Tcpip, as a
REG_DWORD value, set it to decimal 25000 (so 25 seconds), rebooted,
and it all works as i want it now..

Note that windows registry entries key names are case-sensitive, wrong
casing and they'll be deleted on restart.

Lots of thanks, Daniel. I would've never solved this on my own..

I'll make an entry in the website "comments" about this.
List admin:
Received on 2011-02-11