comparison src/http/modules/ngx_http_ssl_module.c @ 658:5a4401b9551b NGINX_1_1_13

nginx 1.1.13 *) Feature: the "TLSv1.1" and "TLSv1.2" parameters of the "ssl_protocols" directive. *) Bugfix: the "limit_req" directive parameters were not inherited correctly; the bug had appeared in 1.1.12. *) Bugfix: the "proxy_redirect" directive incorrectly processed "Refresh" header if regular expression were used. *) Bugfix: the "proxy_cache_use_stale" directive with "error" parameter did not return answer from cache if there were no live upstreams. *) Bugfix: the "worker_cpu_affinity" directive might not work. *) Bugfix: nginx could not be built on Solaris; the bug had appeared in 1.1.12. *) Bugfix: in the ngx_http_mp4_module.
author Igor Sysoev <http://sysoev.ru>
date Mon, 16 Jan 2012 00:00:00 +0400
parents f200748c0ac8
children d0f7a625f27c
comparison
equal deleted inserted replaced
657:e1296af53cc0 658:5a4401b9551b
35 35
36 static ngx_conf_bitmask_t ngx_http_ssl_protocols[] = { 36 static ngx_conf_bitmask_t ngx_http_ssl_protocols[] = {
37 { ngx_string("SSLv2"), NGX_SSL_SSLv2 }, 37 { ngx_string("SSLv2"), NGX_SSL_SSLv2 },
38 { ngx_string("SSLv3"), NGX_SSL_SSLv3 }, 38 { ngx_string("SSLv3"), NGX_SSL_SSLv3 },
39 { ngx_string("TLSv1"), NGX_SSL_TLSv1 }, 39 { ngx_string("TLSv1"), NGX_SSL_TLSv1 },
40 { ngx_string("TLSv1.1"), NGX_SSL_TLSv1_1 },
41 { ngx_string("TLSv1.2"), NGX_SSL_TLSv1_2 },
40 { ngx_null_string, 0 } 42 { ngx_null_string, 0 }
41 }; 43 };
42 44
43 45
44 static ngx_conf_enum_t ngx_http_ssl_verify[] = { 46 static ngx_conf_enum_t ngx_http_ssl_verify[] = {
362 364
363 ngx_conf_merge_value(conf->prefer_server_ciphers, 365 ngx_conf_merge_value(conf->prefer_server_ciphers,
364 prev->prefer_server_ciphers, 0); 366 prev->prefer_server_ciphers, 0);
365 367
366 ngx_conf_merge_bitmask_value(conf->protocols, prev->protocols, 368 ngx_conf_merge_bitmask_value(conf->protocols, prev->protocols,
367 (NGX_CONF_BITMASK_SET|NGX_SSL_SSLv3|NGX_SSL_TLSv1)); 369 (NGX_CONF_BITMASK_SET|NGX_SSL_SSLv3|NGX_SSL_TLSv1
370 |NGX_SSL_TLSv1_1|NGX_SSL_TLSv1_2));
368 371
369 ngx_conf_merge_uint_value(conf->verify, prev->verify, 0); 372 ngx_conf_merge_uint_value(conf->verify, prev->verify, 0);
370 ngx_conf_merge_uint_value(conf->verify_depth, prev->verify_depth, 1); 373 ngx_conf_merge_uint_value(conf->verify_depth, prev->verify_depth, 1);
371 374
372 ngx_conf_merge_str_value(conf->certificate, prev->certificate, ""); 375 ngx_conf_merge_str_value(conf->certificate, prev->certificate, "");