httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)" <>
Subject RE: ssl_var_lookup()...
Date Tue, 06 Nov 2001 01:31:25 GMT
That's true. ssl_var_lookup() is really bad in terms of performance (a hash
table is probably better).. If you're looking out for only a couple of
parameters, it's rather efficient to lookup those variables directly..


-----Original Message-----
From: Doug MacEachern []
Sent: Monday, November 05, 2001 4:44 PM
Subject: Re: ssl_var_lookup()...

On Mon, 5 Nov 2001, Bill Stoddard wrote:

> I have a module that needs access to SSLCIPHER, SSL_CLIENT_CERT and
> the right way for a module to get at this info?  I see a couple of
> 1. Use SSL_* calls directly
> 2. Call ssl_var_lookup()
>     This call looks to be very inefficient. Full of string compares. And
the call is not
> exported for use on Windows either (which is easy enough to change).

it is registered as an optional function.  for an example see:

as for performance of ssl_var_lookup(), that certainly should be improved.

View raw message