apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: win32/apr_socket_recv() vs others...
Date Mon, 27 Jan 2003 22:31:32 GMT
At 04:25 PM 1/27/2003, Brad Nicholes wrote:
>    When I compare the win32 implementation of apr_socket_recv() against
>other implementations, one thing seems to jump out.  On all other
>platforms the apr_socket_recv() function calls
>apr_wait_for_io_or_timeout() if recv() returns and EWOULDBLOCK and there
>is a timeout specified in the sock structure.  In the Win32
>implementation any timeout value in the sock structure is simply
>ignored.  Is there a reason for this or is it an oversight?

I believe you can call this a design error or oversight.  (Some of these
areas have been moving targets and some platforms have drifted.)

Please feel free to suggest a patch or a test for correct behavior.

Bill  


Mime
View raw message