You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Tomasz Ostrowski <to...@gmail.com> on 2022/12/01 23:50:11 UTC

apr_socket_recv(): APR_EOF when receiving empty UDP datagram

Hello,
I've noticed that apr_socket_recv() function returns APR_EOF upon receiving 
empty UDP packet while apr_socket_recvfrom() checks socket type and returns 
APR_EOF only for SOCK_STREAM. Shouldn't apr_socket_recv() also check socket 
type like the latter?

-- 
Tomasz Ostrowski