On Sun, Jan 13, 2002 at 07:06:54PM +0100, Lutz Jaenicke wrote:
> Problem acknowledged. I don't know, what is going on, but my Postfix/TLS
> setup on my servers stopped using session caching, too.
> (I am using external caching and it seems, that the callback to write
> session data to the external storage is not called any longer. So far I don't
> know, in how far the internal cache is affected.)

Ok, I have now tracked down the problem: it was introduced between
0.9.6b and 0.9.6c (s3_srvr.c:1.49.2.7 -> 1.49.2.8 Bodo Moeller:
"Disable session related stuff in SSL_ST_OK case of ssl3_accept if we just
sent a HelloRequest.").
The problem: a newly created session is only recorded to both the
internal and external session cache, if the flag "got_new_session"
is set. "got_new_session" has function scope. When using non-blocking
setup, ssl_accept() is left and called again, thus "got_new_session"
is reset to "0" and the session is not recorded.
Bodo: you made the change at that time, so you probably have the best
idea on how to fix the just discovered problem...

Best regards,
        Lutz
-- 
Lutz Jaenicke                             [EMAIL PROTECTED]
BTU Cottbus               http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik                  Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus              Fax. +49 355 69-4153
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to