Changeset b59327c in mod_gnutls


Ignore:
Timestamp:
Nov 16, 2010, 9:05:30 AM (9 years ago)
Author:
Nikos Mavrogiannopoulos <nmav@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, msva, upstream
Children:
b4a875b
Parents:
e02dd8c
git-author:
Nikos Mavrogiannopoulos <nmav@…> (11/16/10 09:05:00)
git-committer:
Nikos Mavrogiannopoulos <nmav@…> (11/16/10 09:05:30)
Message:

GnuTLSCache can now take a single argument (none).

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • NEWS

    re02dd8c rb59327c  
     1** Version 0.6.0
     2- GnuTLSCache none is now an allowed option.
     3
    14** Version 0.5.9 (2010-09-24)
    25- Corrected behavior in Keep-Alive connections (do not
  • src/gnutls_config.c

    re02dd8c rb59327c  
    371371        if (strcasecmp("none", type) == 0) {
    372372                sc->cache_type = mgs_cache_none;
     373                sc->cache_config = NULL;
     374                return NULL;
    373375        } else if (strcasecmp("dbm", type) == 0) {
    374376                sc->cache_type = mgs_cache_dbm;
     
    384386                return "Invalid Type for GnuTLSCache!";
    385387        }
     388       
     389        if (arg == NULL)
     390                return "Invalid argument 2 for GnuTLSCache!";
    386391
    387392        if (sc->cache_type == mgs_cache_dbm
  • src/gnutls_hooks.c

    re02dd8c rb59327c  
    507507                                     "[GnuTLS] - Failed to run Cache Init");
    508508                }
    509         } else {
    510                 ap_log_error(APLOG_MARK, APLOG_CRIT, 0, s,
    511                              "[GnuTLS] - No Cache Configured. Hint: GnuTLSCache");
    512509        }
    513510}
  • src/mod_gnutls.c

    re02dd8c rb59327c  
    120120                      RSRC_CONF,
    121121                      "Cache Timeout"),
    122         AP_INIT_TAKE2("GnuTLSCache", mgs_set_cache,
     122        AP_INIT_TAKE12("GnuTLSCache", mgs_set_cache,
    123123                      NULL,
    124124                      RSRC_CONF,
Note: See TracChangeset for help on using the changeset viewer.