comparison src/http/modules/ngx_http_ssl_module.c @ 378:820f6378fc00 NGINX_0_7_1

nginx 0.7.1 *) Change: now locations are searched in a tree. *) Change: the "optimize_server_names" directive was canceled due to the "server_name_in_redirect" directive introduction. *) Change: some long deprecated directives are not supported anymore. *) Change: the "none" parameter in the "ssl_session_cache" directive; now this is default parameter. Thanks to Rob Mueller. *) Bugfix: worker processes might not catch reconfiguration and log rotation signals. *) Bugfix: nginx could not be built on latest Fedora 9 Linux. Thanks to Roxis.
author Igor Sysoev <http://sysoev.ru>
date Mon, 26 May 2008 00:00:00 +0400
parents 9121a0a91f47
children bc21d9cd9c54
comparison
equal deleted inserted replaced
377:5d98007adb5f 378:820f6378fc00
413 if (ngx_ssl_generate_rsa512_key(&conf->ssl) != NGX_OK) { 413 if (ngx_ssl_generate_rsa512_key(&conf->ssl) != NGX_OK) {
414 return NGX_CONF_ERROR; 414 return NGX_CONF_ERROR;
415 } 415 }
416 416
417 ngx_conf_merge_value(conf->builtin_session_cache, 417 ngx_conf_merge_value(conf->builtin_session_cache,
418 prev->builtin_session_cache, NGX_SSL_NO_SCACHE); 418 prev->builtin_session_cache, NGX_SSL_NONE_SCACHE);
419 419
420 if (conf->shm_zone == NULL) { 420 if (conf->shm_zone == NULL) {
421 conf->shm_zone = prev->shm_zone; 421 conf->shm_zone = prev->shm_zone;
422 } 422 }
423 423
447 447
448 for (i = 1; i < cf->args->nelts; i++) { 448 for (i = 1; i < cf->args->nelts; i++) {
449 449
450 if (ngx_strcmp(value[i].data, "off") == 0) { 450 if (ngx_strcmp(value[i].data, "off") == 0) {
451 sscf->builtin_session_cache = NGX_SSL_NO_SCACHE; 451 sscf->builtin_session_cache = NGX_SSL_NO_SCACHE;
452 continue;
453 }
454
455 if (ngx_strcmp(value[i].data, "none") == 0) {
456 sscf->builtin_session_cache = NGX_SSL_NONE_SCACHE;
452 continue; 457 continue;
453 } 458 }
454 459
455 if (ngx_strcmp(value[i].data, "builtin") == 0) { 460 if (ngx_strcmp(value[i].data, "builtin") == 0) {
456 sscf->builtin_session_cache = NGX_SSL_DFLT_BUILTIN_SCACHE; 461 sscf->builtin_session_cache = NGX_SSL_DFLT_BUILTIN_SCACHE;