On Tue, Nov 16, 1999, Rainer Nowagk wrote:

> In a content handler (written with the C API) I want to check whether
> the current transaction goes via SSL or not.
> What is the best method to do this?

| #ifdef EAPI
|     if (ap_ctx_get(r->connection->client->ctx, "ssl") != NULL)
|         <ssl>;
|     else
| #endif
|         <no 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