Thank you for quick responses. :-)
To clarify - are all of the failures occuring when TLS is in use on the LDAP session? It's common for the socket layer to have data, but for the TLS layer to report that nothing is available yet since it hasn't read a complete record yet. If that's what is happening here, then yes, we need to fix this patch.
No, TLS is disabled in my case.
Please test the attached patch and see if the problem is resolved, thanks.
The patch didn't help. I'm still getting the error.
Jan