Mercurial > hg > nginx-quic
comparison src/http/ngx_http_request.c @ 671:cec32b3753ac release-0.3.57
nginx-0.3.57-RELEASE import
*) Feature: the $ssl_client_serial variable.
*) Bugfix: in the "!-e" operator of the "if" directive.
Thanks to Andrian Budanstov.
*) Bugfix: while a client certificate verification nginx did not send
to a client the required certificates information.
*) Bugfix: the $document_root variable did not support the variables in
the "root" directive.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 09 Aug 2006 19:59:45 +0000 |
parents | 562806624c4a |
children | e924670896ab |
comparison
equal
deleted
inserted
replaced
670:ba43c68592d0 | 671:cec32b3753ac |
---|---|
1342 if (sscf->verify) { | 1342 if (sscf->verify) { |
1343 rc = SSL_get_verify_result(r->connection->ssl->connection); | 1343 rc = SSL_get_verify_result(r->connection->ssl->connection); |
1344 | 1344 |
1345 if (rc != X509_V_OK) { | 1345 if (rc != X509_V_OK) { |
1346 ngx_log_error(NGX_LOG_INFO, r->connection->log, 0, | 1346 ngx_log_error(NGX_LOG_INFO, r->connection->log, 0, |
1347 "client SSL certificate verify error: (%l:%s) ", | 1347 "client SSL certificate verify error: (%l:%s)", |
1348 rc, X509_verify_cert_error_string(rc)); | 1348 rc, X509_verify_cert_error_string(rc)); |
1349 ngx_http_finalize_request(r, NGX_HTTPS_CERT_ERROR); | 1349 ngx_http_finalize_request(r, NGX_HTTPS_CERT_ERROR); |
1350 return NGX_ERROR; | 1350 return NGX_ERROR; |
1351 } | 1351 } |
1352 | 1352 |