[EMAIL PROTECTED] 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 | [EMAIL PROTECTED] | PGP public key at web site:
http://www.geocities.com/SiliconValley/Park/9289/
Born in Roswell... married an alien...