Rainer Nowagk <[EMAIL PROTECTED]> writes:

> Hi,
> 
> 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?

        if (ap_ctx_get(r->connection->client->ctx, "ssl") != NULL)
                ssl;
        else
                no ssl;

?

-Tom

-- 
Tom Vaughan <tvaughan at aventail dot 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