apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject Re: apr_buckets_socket.c possible buglet
Date Wed, 04 May 2005 14:54:31 GMT
On Tue, Apr 26, 2005 at 12:45:31PM -0500, Rici Lake wrote:
> The documentation for apr_socket_recv says:
> "It is possible for both bytes to be received and an APR_EOF or other 
> error to be returned."

Is that actually true?  It suprised me because apr_file_read()
guarantees the exact opposite and it would be a rather awkward interface
to use.  Looking at both the Unix and Win32 implementations it does seem
that all times where an error is returned, *len is set to 0?


View raw message