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

RE: SSL sessions



Perhaps a callback function for newly created LDAP connections then, to give
the app a chance to set things before the connection gets used.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support

> -----Original Message-----
> From: Kurt D. Zeilenga [mailto:Kurt@OpenLDAP.org]
> Sent: Friday, September 20, 2002 12:18 PM
> To: Howard Chu
> Cc: openldap-devel@OpenLDAP.org
> Subject: Re: SSL sessions
>
>
> At 11:04 PM 2002-09-19, Howard Chu wrote:
> >The second option is to pass back in the SSL_CTX index key. Since the SSL
> >session cache lives longer than an LDAP session handle, libldap can't
> >remember the index key between unbinds, it's up to the
> application to save it
> >and pass it back in when creating a new LDAP session.
>
> I prefer an approach which allows the application to manage
> its SSL contexts... then we can divorce their issues from
> ours.
>