Ralf S. Engelschall wrote:
> On Thu, Oct 01, 1998, Maert Laak wrote:
> > In file ssl_gcachecommon.c in subroutine LocalCacheFind (row 189) there
> > is a static int variable nCalls that _is_not_initialized_? And later
> > this nCalls is increased and compared to 1. So the results are
> > unpredictable here?
> >
> > I overcome this bug by uncommenting the if-thing there and executing
> > ExpireCache every time LocalCacheFind is called. This way
> > SSLSessionCacheTimeout works correctly.
>
> Yes, that's a bug. Fixed for mod_ssl 2.0.12. Thanks for the hint.
If it is a bug, it is a bug in the C compiler. Uninitialised static
variables are guaranteed to be set to zero.
What system was this on? Which compiler?
Cheers,
Ben.
--
Ben Laurie |Phone: +44 (181) 735 0686| Apache Group member
Freelance Consultant |Fax: +44 (181) 735 0689|http://www.apache.org/
and Technical Director|Email: [EMAIL PROTECTED] |
A.L. Digital Ltd, |Apache-SSL author http://www.apache-ssl.org/
London, England. |"Apache: TDG" http://www.ora.com/catalog/apache/
WE'RE RECRUITING! http://www.aldigital.co.uk/
______________________________________________________________________
Apache Interface to SSLeay (mod_ssl) www.engelschall.com/sw/mod_ssl/
Official Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]