https://bugs.openldap.org/show_bug.cgi?id=10141
--- Comment #13 from Ondřej Kuzník ondra@mistotebe.net --- On Tue, Oct 22, 2024 at 09:20:22AM +0000, openldap-its@openldap.org wrote:
I believe this patch might fix the issue by polling the socket before attempting a read. This is previously only performed in async mode. But setting a timeout also causes the socket to be nonblocking.
I renamed the async variable for clarity
Hi Maxime, thanks for the extra information and a proposed patch. Can you test the patch in MR!727 I created yesterday? It overlaps what you've just submitted and I believe is a more correct approach.
Thanks,