Re: [PHP-DEV] Re: Socket Rework Complete

2002-03-08 Thread derick
On 8 Mar 2002, Jason Greene wrote: > Thanks for the bug report, it will be fixed. You can merge this fix into the branch if you want to. Derick > > -Jason > > On Fri, 2002-03-08 at 09:39, J Smith wrote: > > > > I think I see bug number 1... > > > > The system call for select() you to perfo

Re: [PHP-DEV] Re: Socket Rework Complete

2002-03-08 Thread Jason Greene
Thanks for the bug report, it will be fixed. -Jason On Fri, 2002-03-08 at 09:39, J Smith wrote: > > I think I see bug number 1... > > The system call for select() you to perform an indefinite blocking call if > you pass NULL as tv, but PHP's socket_select() doesn't seem to have that > featur

[PHP-DEV] Re: Socket Rework Complete

2002-03-08 Thread J Smith
Slight correction -- the fix is actually something more like this (at least currently): If the user passes "null" for the sec argument, pass NULL to select() for tv. I think it would probably be better to handle it with the following conditions: 1. if the user passes null for both sec AND us

[PHP-DEV] Re: Socket Rework Complete

2002-03-08 Thread J Smith
I think I see bug number 1... The system call for select() you to perform an indefinite blocking call if you pass NULL as tv, but PHP's socket_select() doesn't seem to have that feature. (It did in previous versions, from sometime in 4.0.7dev and up. I caught that bug originally, actually.)