ID: 44955 Updated by: [EMAIL PROTECTED] Reported By: fidojones at fidojones dot com -Status: Closed +Status: Assigned Bug Type: Sockets related Operating System: Linux PHP Version: 5.2.6 Assigned To: felipe New Comment:
Changes in behavior in minor versions are bugs. Previous Comments: ------------------------------------------------------------------------ [2008-07-14 21:45:44] fidojones at fidojones dot com Aparently socket_select acts completely diferent as past versions. Nanoweb server has been fixed to work with this versions: old version in nanoweb before 5.2.6: $ns=socket_select($lnset, $write=NULL, $except=NULL, 1); if ($ns) { if ($lnset[0]==$children_sck) { new version in nanoweb from 5.2.6: $ns=socket_select($lnset, $write=NULL, $except=NULL, 1); if ($ns) foreach ($lnset as $lnact) { if ($lnact==$children_sck) { So I think it's not a bug, but acts different as older versions. ------------------------------------------------------------------------ [2008-07-14 21:29:57] [EMAIL PROTECTED] Felipe, you break -> you fix. Or revert the patch you applied that obviously causes the problem. ------------------------------------------------------------------------ [2008-05-09 18:12:36] fidojones at fidojones dot com I'm using the socket.c file in ext/socket/ from php 5.2.5 in php 5.2.6 and all is working fine. And the only diff in socket.c is the patch http://bugs.php.net/bug.php?id=44197 ,so explain me if not related with this patch, why is working perfect? if I only overwrite the socket.c file... You should test the script and say me if you see the execution diference and I encourage to try http://nanoweb.si.kz/ that has been working with all php versions from 4 to 5.2.5 and only fails with php 5.2.6. ------------------------------------------------------------------------ [2008-05-09 17:50:12] [EMAIL PROTECTED] The problem isn't related with the patch... It just fixed a problem in socket_select(). Your script doesn't use it. ------------------------------------------------------------------------ [2008-05-09 16:27:02] [EMAIL PROTECTED] Assigned to Felipe who broke this. ------------------------------------------------------------------------ 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/44955 -- Edit this bug report at http://bugs.php.net/?id=44955&edit=1