Re: crash when using LDAP_OPT_RECONNECT

Anton Bobrov <[email protected]>
Newsgroups gmane.comp.mozilla.devel.directory
Organization Sun Microsystems, Inc.
Message-ID <[email protected]>
its most probably because you have other pending requests that catch
that connection dead after reconnect handler. what happens if that
connection goes bad on the last request ?

> Thanks for your response.  As to the force option, I understand we
> need to clean up the connection, but how is the dead connection case
> different that any other time we are cleaning up a connection?  If we
> don't force (this is what I've currently implemented) the connection
> will still be correctly cleaned up when the refcount drops to zero as
> any other references in the in-flight requests are cleaned up, no?
> 
> I'm testing force == 0 in the cleanup and it seems to work fine with
> no obvious handle or memory leaks.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.