note 68543 added to function.stream-set-timeout
| From: | alfi_ at yahoo dot com | Date: | Tue, 01 Aug 2006 15:10:20 +0000 |
| Subject: | note 68543 added to function.stream-set-timeout | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-115412@lists.php.net to get a copy of this message | ||
If you are using fsockopen() to create a connection, first going to write into the stream and then
waiting for the reply (e.g. simulating HTTP request with some extra headers), then
stream_set_timeout() must be set only after the write - if it is before write, it has no effect on
the read timeout :-(
Noticed at least on PHP/4.3.10
----
Server IP: 212.24.129.110
Probable Submitter: 62.141.0.146 (proxied: 1.1 SRVRISA1, 1.0 ISAANT1)
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.stream-set-timeout.php
Edit -- https://master.php.net/note/edit/68543
Del: integrated -- https://master.php.net/note/delete/68543/integrated
Del: useless -- https://master.php.net/note/delete/68543/useless
Del: bad code -- https://master.php.net/note/delete/68543/bad+code
Del: spam -- https://master.php.net/note/delete/68543/spam
Del: non-english -- https://master.php.net/note/delete/68543/non-english
Del: in docs -- https://master.php.net/note/delete/68543/in+docs
Del: other reasons-- https://master.php.net/note/delete/68543
Reject -- https://master.php.net/note/reject/68543
Search -- https://master.php.net/manage/user-notes.php