Jacob Craig Lewallen wrote:
I assume that your app did
apr_socket_timeout_set(sock, 0)
to clear the timeout?
Actually I am passing -1, which does "clear" the timeouts. Unfortunately the socket is still non blocking. . . If you look in sockopt.c on line 133 you'll see a call to apr_is_option_set, checking for APR_SO_NONBLOCK. My problem is, this never gets set when it DOES make the socket non blocking in the first call to timeout_set and so the socket is never returned to blocking even if you do pass -1. In other words, on the first call on a blocking socket it'll check for NONBLOCK, fail, and set the socket to be non blocking, but never set the APR_SO_NONBLOCK flag to reflect this. Or am I just being dense?
-- jacob lewallen [EMAIL PROTECTED]
