tevent: fd events do not work correctly for UDP socket?

Jeremy Allison jra at samba.org
Wed Aug 26 17:08:24 UTC 2020


On Wed, Aug 26, 2020 at 11:54:07AM +0200, Pavel Březina wrote:

> Thank you for all the hints. It turned out to be a bug in libldap [1] which
> calls recvfrom twice in a row for UDP calls. The first call will consume the
> error (ECONNREFUSED) and the other call will then block because there's
> nothing to receive.
> 
> [1] https://bugs.openldap.org/show_bug.cgi?id=9328

Thanks, that makes a lot of sense now :-).



More information about the samba-technical mailing list