Re: curl_exec won't return (any data)
| From: | Tolas Anon | Date: | Wed, 09 Feb 2011 19:24:08 +0000 |
| Subject: | Re: curl_exec won't return (any data) | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-311237@lists.php.net to get a copy of this message | ||
exec-sum update :
details continued at http://curl.haxx.se/mail/lib-2011-02/0101.html
it turns out using the internetdomainname of the apache server is the
source of the problem.
the adsl router could be dropping the connection, or something else.
calling curl_exec() to a localhost address will work fine for the time
that it takes.
(no traffic back for 1hr, then a short status msg only)
however my media import routines are useless if i only can use 'm on localhost.
so the idea i will try tommorow is outputting keepalive weird-bytes on
the text/html level
from the php_script import-script, and then stripping them in php_daemon_script.
i would like to know if i can use feof() to check that ffmpeg launched
via popen() has terminated..
i think so, but the docs aren't perfectly clear.