Req #43269 [Asn]: Retreive FD_SETSIZE within PHP

From: Date: Sun, 03 Jul 2016 12:30:30 +0000
Subject: Req #43269 [Asn]: Retreive FD_SETSIZE within PHP
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-202018@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=43269&edit=1 ID: 43269 Updated by: cmb@php.net Reported by: quis at omicidio dot nl Summary: Retreive FD_SETSIZE within PHP Status: Assigned Type: Feature/Change Request Package: *General Issues Operating System: irrelevant (FreeBSD) PHP Version: 5.2.5 Assigned To: cmb Block user comment: N Private report: N New Comment: > […] it was just a nice error complaining about passing in fds > higher than 1024/FD_SETSIZE. Then I assume it was the message reported in bug #69637. I'd still prefer to fix that issue, but making available the value of FD_SETSIZE to userland might be desirable anyway, so I've submitted a respective PR. Previous Comments: ------------------------------------------------------------------------ [2016-07-03 11:10:43] quis at omicidio dot nl No, IIRC (and it was 9 years ago) it was just a nice error complaining about passing in fds higher than 1024/FD_SETSIZE. I'm somewhat certain it didn't actually crash, but just returned an error. ------------------------------------------------------------------------ [2016-07-02 15:27:38] cmb@php.net > And I need to know the value of FD_SETSIZE to prevent > socket_select from 'crashing' In my opinion, it would be better to fix the crashing socket_select(). So please specify the details of the crash. Is it the same behavior as reported in bug #72030? ------------------------------------------------------------------------ [2007-11-12 20:27:15] quis at omicidio dot nl Description: ------------ I`m building some portable application. And I need to know the value of FD_SETSIZE to prevent socket_select from 'crashing' simply (?) defining FD_SETSIZE would be greate ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=43269&edit=1

« previous php.bugs (#202018) next »