Welcome! Log In Create A New Profile

Advanced

[nginx] Style: switch.

November 04, 2016 12:14PM
details: http://hg.nginx.org/nginx/rev/92ad1c92bcf9
branches:
changeset: 6796:92ad1c92bcf9
user: Ruslan Ermilov <ru@nginx.com>
date: Fri Nov 04 19:12:19 2016 +0300
description:
Style: switch.

diffstat:

src/http/ngx_http_core_module.c | 2 --
src/http/ngx_http_special_response.c | 1 -
2 files changed, 0 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 1a917932db96 -r 92ad1c92bcf9 src/http/ngx_http_core_module.c
--- a/src/http/ngx_http_core_module.c Thu Nov 03 17:10:29 2016 +0300
+++ b/src/http/ngx_http_core_module.c Fri Nov 04 19:12:19 2016 +0300
@@ -4827,8 +4827,6 @@ ngx_http_core_error_page(ngx_conf_t *cf,
case NGX_HTTPS_CERT_ERROR:
case NGX_HTTPS_NO_CERT:
err->overwrite = NGX_HTTP_BAD_REQUEST;
- default:
- break;
}
}

diff -r 1a917932db96 -r 92ad1c92bcf9 src/http/ngx_http_special_response.c
--- a/src/http/ngx_http_special_response.c Thu Nov 03 17:10:29 2016 +0300
+++ b/src/http/ngx_http_special_response.c Fri Nov 04 19:12:19 2016 +0300
@@ -473,7 +473,6 @@ ngx_http_special_response_handler(ngx_ht
case NGX_HTTPS_NO_CERT:
case NGX_HTTP_REQUEST_HEADER_TOO_LARGE:
r->err_status = NGX_HTTP_BAD_REQUEST;
- break;
}

} else {

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Style: switch.

ru@nginx.com 358 November 04, 2016 12:14PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 79
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready