https://bugs.openldap.org/show_bug.cgi?id=10014

--- Comment #12 from Johan <[email protected]> ---
(In reply to Ondřej Kuzník from comment #11)
> I've just noticed that tlsmt_session_accept busy loops on non-blocking
> connections.
> 
> This is a problem for lloadd which wants non-blocking operation where
> possible, rescheduling callbacks based LBER_SB_OPT_NEEDS_WRITE/READ.

Hi Ondřej,
you're right I completely missed the loop through session_upflags to manage the
non blocking I/O. Just removing the loop and directly returning

mbedtls_ssl_handshake( &(s->ssl_ctx) )

in tlsmt_session_accept shall work.

I'll do a MR by the end of week

regards,
Johan

-- 
You are receiving this mail because:
You are on the CC list for the issue.

Reply via email to