Changeset ae233c2 in mod_gnutls
- Timestamp:
- Jun 30, 2010, 9:09:56 PM (13 years ago)
- Branches:
- asyncio, debian/master, debian/stretch-backports, jessie-backports, main, master, msva, proxy-ticket, upstream
- Children:
- bca274d
- Parents:
- 7b3e5de
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
NEWS
r7b3e5de rae233c2 9 9 server to avoid using a session cache and still support 10 10 session resumption. This is at the cost of transporting 11 session data during handshake. 11 session data during handshake. New option 12 GnuTLSSessionTickets [on|off] 12 13 13 14 - Depend on gnutls 2.10.0 to force support for safe -
include/mod_gnutls.h.in
r7b3e5de rae233c2 110 110 int client_verify_mode; 111 111 apr_time_t last_cache_check; 112 int tickets; /* whether session tickets are allowed */ 112 113 } mgs_srvconf_rec; 113 114 … … 281 282 const char *mgs_set_priorities(cmd_parms * parms, void *dummy, 282 283 const char *arg); 284 const char *mgs_set_tickets(cmd_parms * parms, void *dummy, 285 const char *arg); 283 286 284 287 const char *mgs_set_require_section(cmd_parms *cmd, -
src/gnutls_config.c
r7b3e5de rae233c2 286 286 } 287 287 288 const char *mgs_set_tickets(cmd_parms * parms, void *dummy, 289 const char *arg) 290 { 291 mgs_srvconf_rec *sc = 292 (mgs_srvconf_rec *) ap_get_module_config(parms->server-> 293 module_config, 294 &gnutls_module); 295 296 sc->tickets = 0; 297 if (strcasecmp("on", arg) == 0) { 298 sc->tickets = 1; 299 } 300 301 return NULL; 302 } 303 288 304 289 305 #ifdef ENABLE_SRP -
src/gnutls_hooks.c
r7b3e5de rae233c2 674 674 675 675 gnutls_init(&ctxt->session, GNUTLS_SERVER); 676 if (session_ticket_key.data != NULL )676 if (session_ticket_key.data != NULL && ctxt->sc->tickets != 0) 677 677 gnutls_session_ticket_enable_server(ctxt->session, &session_ticket_key); 678 678 -
src/mod_gnutls.c
r7b3e5de rae233c2 122 122 RSRC_CONF, 123 123 "Cache Configuration"), 124 AP_INIT_TAKE1("GnuTLSSessionTickets", mgs_set_tickets, 125 NULL, 126 RSRC_CONF, 127 "Session Tickets Configuration"), 124 128 AP_INIT_RAW_ARGS("GnuTLSPriorities", mgs_set_priorities, 125 129 NULL,
Note: See TracChangeset
for help on using the changeset viewer.