[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#8755) invalid file descriptor when closing tls connection



On Mon, May 13, 2019 at 03:32:19PM +0000, ondra@mistotebe.net wrote:
> Yes, it looks like the main SockBuf closing is run twice, once in
> ldap_free_connection and once directly in ldap_ld_free. I think we don't
> enforce that SockBuf implementations set sb_fd != AC_SOCKET_INVALID, so
> not sure yet if we can gate calling sb_close on that or something else.
> 
> I'll see if there's a way to make this work better.

There's a proposed patch at
https://github.com/mistotebe/openldap/tree/its8755

-- 
OndÅ?ej Kuzník
Senior Software Engineer
Symas Corporation                       http://www.symas.com
Packaged, certified, and supported LDAP solutions powered by OpenLDAP