#20922 [Com]: socket_select() blocks for some reason

From: Date: Wed, 28 Nov 2007 02:14:06 +0000
Subject: #20922 [Com]: socket_select() blocks for some reason
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-120158@lists.php.net to get a copy of this message
ID: 20922 Comment by: j_kkachi at yahoo dot com Reported By: tit dot petric at telemach dot net Status: No Feedback Bug Type: Sockets related Operating System: linux debian latest unstable PHP Version: 4.4.0-dev New Comment: I'm having problem with socket_select() as well. Completely stops there even though UDP packets came through the port. Previous Comments: ------------------------------------------------------------------------ [2005-07-06 14:09:07] freeway at freesurf dot fr I use php5 and still socket_select() still hanging ------------------------------------------------------------------------ [2005-07-06 13:49:38] freeway at freesurf dot fr what do you mean by try using this CVS snapshot ? ------------------------------------------------------------------------ [2003-01-02 18:45:01] sniper@php.net No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ [2002-12-11 08:08:00] sniper@php.net Please provide a complete, self-contained and short example script which can be used to reproduce this. complete: Begins with <?php, ends with ?> self-contained: Does not require anything but itself. short: 10-15 lines. ------------------------------------------------------------------------ [2002-12-11 06:38:08] tit dot petric at telemach dot net hmm ok, here is the thing.. the script failed on socket_select - but it was from a previous error before i did socket select i also did a file() on an url - the server was down so i guess somehow the error just got projected to another socket without the file($url) code i cant replicate it's behaviour, so i removed it. my original report is still valid - socked_select() seemed to stop in its tracks after that invalid file($url) request. (I had debug output before and after to see why/how it hangs and i haddnt suspected file($url) since it wen't without verbosity on that part) ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/20922 -- Edit this bug report at http://bugs.php.net/?id=20922&edit=1

« previous php.bugs (#120158) next »