Re: stream_set_timeout() mystery
| From: | Jochem Maas | Date: | Tue, 01 Feb 2005 21:03:20 +0000 |
| Subject: | Re: stream_set_timeout() mystery | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-207859@lists.php.net to get a copy of this message | ||
Richard Lynch wrote:
Al wrote:hey Richard, example.com is alive :-)Hi Richard, thanks for the help. Note I have the timeout set for 1 microsec, have tried several values, eg, 100ms, 1 sec, etc. I even used a 4mb file and it did nothing. It seems as if stream_set_timeout() does nothing. Note in socket_get_status(), [timed_out] => is always false.vtimed_out^/ \ / \ Lost data because your time-out expired Possibly you have such a good connection, it never times out. Try connection to something that's not there -- Like: $URL_full = 'http://example.com';