Changeset 480aba1 in mod_gnutls


Ignore:
Timestamp:
Jan 29, 2013, 8:05:42 PM (10 years ago)
Author:
Daniel Kahn Gillmor <dkg@…>
Branches:
asyncio, debian/master, debian/stretch-backports, jessie-backports, main, master, msva, proxy-ticket, upstream
Children:
929d313
Parents:
0367e02
git-author:
Daniel Kahn Gillmor <dkg@…> (01/26/13 23:49:23)
git-committer:
Daniel Kahn Gillmor <dkg@…> (01/29/13 20:05:42)
Message:

correct context terminology for GnuTLSCache configurations

"global config" is not one of the four standard directive contexts as
seen at:

https://httpd.apache.org/docs/2.2/mod/directive-dict.html#Context

The intent was clearly "server config"

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • docs/mod_gnutls_manual-0.1.html

    r0367e02 r480aba1  
    9393                GnuTLSCache none<br />
    9494                <h5>Context:</h5>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    95                 global config<br />
     95                server config<br />
    9696            </div>
    9797            <p>This directive configures the SSL Session Cache for mod_gnutls.<br />
     
    126126                GnuTLSCacheTimeout 300<br />
    127127                <h5>Context:</h5>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    128                 global config<br />
     128                server config<br />
    129129            </div>   
    130130            <p>Sets the timeout for SSL Session Cache entries expiration.<br />
  • src/gnutls_config.c

    r0367e02 r480aba1  
    337337        const char *arg) {
    338338    int argint;
    339     mgs_srvconf_rec *sc =
    340             (mgs_srvconf_rec *) ap_get_module_config(parms->server->
    341             module_config,
    342             &gnutls_module);
     339    const char *err;
     340    mgs_srvconf_rec *sc =
     341            (mgs_srvconf_rec *) ap_get_module_config(parms->server->
     342            module_config,
     343            &gnutls_module);
     344
     345    if ((err = ap_check_cmd_context(parms, GLOBAL_ONLY))) {
     346        return err;
     347    }
    343348
    344349    argint = atoi(arg);
Note: See TracChangeset for help on using the changeset viewer.