https://bugs.openldap.org/show_bug.cgi?id=9210
--- Comment #6 from Howard Chu hyc@openldap.org --- (In reply to lukas.juhrich@agdsn.de from comment #5)
Quick update, I found a document from myself from the last debugging.
The return value in the loop is always `-408`, which is `GNUTLS_E_UNAVAILABLE_DURING_HANDSHAKE`.
Which is quite different from your original report saying there was no error.
This still sounds like a GnuTLS bug. What version of that are you using? Can you reproduce this workload using OpenSSL instead?