> -----Original Message-----
> From: Henri Gomez

> > Agreed, but the entire purpose of the ioctl is to disable the 
> > nonblocking socket. We can use the fcntl for that.
> So let use it that way, APR is a reference in native code 
> implementation  ;)

I was looking at the docs and see no reason at all to call that at the
first place.
Since we are sure that the socket is created in the blocking mode, then
seting timeout doesn't need to set the socket to the blocking mode at
the first place.
Think that I copied that code from the APR at the first place (seting
socket timeout), but in the apr you cannot be sure that if the socket is
blocking or not, so you have to set it to the correct mode.

I'll #if 0 that setting, so we can check that.

MT.



--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@;jakarta.apache.org>

Reply via email to