Changeset 33826c5 in mod_gnutls for src/gnutls_config.c


Ignore:
Timestamp:
Oct 4, 2011, 7:01:32 AM (8 years ago)
Author:
Dash Shendy <neuromancer@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, msva, upstream
Children:
37f8282
Parents:
a4feefc
Message:

mod_proxy support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_config.c

    ra4feefc r33826c5  
    545545}
    546546
     547const char *mgs_set_proxy_engine(cmd_parms * parms, void *dummy,
     548        const char *arg) {
     549   
     550    mgs_srvconf_rec *sc =(mgs_srvconf_rec *)
     551            ap_get_module_config(parms->server->module_config, &gnutls_module);
     552   
     553    if (!strcasecmp(arg, "On")) {
     554        sc->proxy_enabled = GNUTLS_ENABLED_TRUE;
     555    } else if (!strcasecmp(arg, "Off")) {
     556        sc->proxy_enabled = GNUTLS_ENABLED_FALSE;
     557    } else {
     558        return "SSLProxyEngine must be set to 'On' or 'Off'";
     559    }
     560
     561    return NULL;
     562}
     563
    547564const char *mgs_set_enabled(cmd_parms * parms, void *dummy,
    548565        const char *arg) {
Note: See TracChangeset for help on using the changeset viewer.