apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <trawi...@bellsouth.net>
Subject Re: cvs commit: apr/network_io/unix sendrecv.c sockets.c
Date Sat, 31 Mar 2001 13:27:01 GMT
trawick@apache.org writes:

> trawick     01/03/31 05:25:46
> 
>   Modified:    include/arch/unix networkio.h
>                network_io/unix sendrecv.c sockets.c
>   Log:
>   apr_recvfrom() should only return APR_EOF if recvfrom() returned
>   zero *AND* this is a stream socket.
>   
>   rc zero from a datagram socket just means that somebody sent you
>   a zero-byte datagram.
>   
>   Remove the minimal parm checking from recvfrom()... better to
>   segfault as with most of the rest of APR.

The same basic change is needed for other apr_recvfrom()
implementation(s)...

-- 
Jeff Trawick | trawickj@bellsouth.net | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Mime
View raw message