On Thu, Nov 18, 1999, Eli Marmor wrote:

> Is there any way to access the current request_rec from hooks like
> "ap::buff::write", "ap::buff::read"?

Sure, read README.dsov.fig carefully!
There the internal structure of Apache+mod_ssl+OpenSSL
is shown in detail.

In short: 
   BUFF => ctx => request_req

In code (without error checks): 
   ssl = ap_ctx_get(buff->ctx, "ssl");
   req = (request_rec *)SSL_get_app_data2(ssl);

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to