httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <do...@covalent.net>
Subject Re: ssl_var_lookup()...
Date Tue, 06 Nov 2001 00:44:03 GMT
On Mon, 5 Nov 2001, Bill Stoddard wrote:

> I have a module that needs access to SSLCIPHER, SSL_CLIENT_CERT and SSL_SESSIONID. What
is
> the right way for a module to get at this info?  I see a couple of methods:
> 
> 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:
httpd-test/perl-framework/c-modules/test_ssl/mod_test_ssl.c

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



Mime
View raw message