comparison src/http/ngx_http_request.c @ 6584:690b15cc8915

Fixed an error log message.
author Valentin Bartenev <vbart@nginx.com>
date Tue, 07 Jun 2016 17:44:20 +0300
parents 654d2dae97d3
children 72bb626484a4
comparison
equal deleted inserted replaced
6583:ade7d0335d77 6584:690b15cc8915
2066 sscf = ngx_http_get_module_srv_conf(cscf->ctx, ngx_http_ssl_module); 2066 sscf = ngx_http_get_module_srv_conf(cscf->ctx, ngx_http_ssl_module);
2067 2067
2068 if (sscf->verify) { 2068 if (sscf->verify) {
2069 ngx_log_error(NGX_LOG_INFO, r->connection->log, 0, 2069 ngx_log_error(NGX_LOG_INFO, r->connection->log, 0,
2070 "client attempted to request the server name " 2070 "client attempted to request the server name "
2071 "different from that one was negotiated"); 2071 "different from the one that was negotiated");
2072 ngx_http_finalize_request(r, NGX_HTTP_MISDIRECTED_REQUEST); 2072 ngx_http_finalize_request(r, NGX_HTTP_MISDIRECTED_REQUEST);
2073 return NGX_ERROR; 2073 return NGX_ERROR;
2074 } 2074 }
2075 } 2075 }
2076 2076