Re: Bug #1691: blocking mode sockets override max_execution_time
| From: | Sascha Schumann | Date: | Sat, 10 Jul 1999 18:56:26 +0000 |
| Subject: | Re: Bug #1691: blocking mode sockets override max_execution_time | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-8282@lists.php.net to get a copy of this message | ||
> Desired behaviour:
> when max_execution_time passes, script is terminated,
> whether or not it is awaiting input from a blocking mode
> socket.
feof() doesn't block at all.
Have a look at fsock.c, line 640. It doesn't do anything but
looking at some fields in the sock struct and returning
immediately.
If something is blocking your script, it's definitely not feof.
--
Regards,
Sascha Schumann
Consultant