summaryrefslogtreecommitdiffhomepage
path: root/src/http
diff options
context:
space:
mode:
Diffstat (limited to 'src/http')
-rw-r--r--src/http/modules/ngx_http_ssl_filter.c2
-rw-r--r--src/http/ngx_http_request.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/http/modules/ngx_http_ssl_filter.c b/src/http/modules/ngx_http_ssl_filter.c
index b39fc38d5..5370426bb 100644
--- a/src/http/modules/ngx_http_ssl_filter.c
+++ b/src/http/modules/ngx_http_ssl_filter.c
@@ -199,7 +199,7 @@ static ngx_http_ssl_ctx_t *ngx_http_ssl_create_ctx(ngx_http_request_t *r)
void ngx_http_ssl_close_request(SSL *ssl, int mode)
{
SSL_set_shutdown(ssl, mode);
- SSL_smart_shutdown(ssl);
+ SSL_shutdown(ssl);
SSL_free(ssl);
}
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index 9e2cb89d6..4c1783412 100644
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -815,7 +815,7 @@ static ssize_t ngx_http_read_request_header(ngx_http_request_t *r)
return NGX_AGAIN;
}
-#if 1
+#if 0
ngx_http_ssl_read(r);
#else
n = ngx_recv(r->connection, r->header_in->last,