httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <minf...@sharp.fm>
Subject Re: mod_ldap maybe feature request
Date Sat, 22 May 2004 02:47:22 GMT
Joseph Dane wrote:

> essentially, I'd like to be able to set a maximum lifetime for a
> persitent LDAP connection.  an approximation of this would be to
> record the time at which a connection was first made, and on
> recycling the connection first check if that time was >N seconds ago,
> and unbind/rebind if so.
> 
> I can describe the situation that caused me to ask for this, if
> anyone is interested.

This bug describes something similar: 
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23548

Apparently the apr_reslist functions are the solution for this in apr-util.

The new code does check for errors properly (in theory), so if a 
connection has timed out, it will gracefully disconnect/cleanup that 
connection before trying to use it again, which might solve potentional 
problems you're having.

Regards,
Graham
--

Mime
View raw message