changeset 8960:d76237ed9327 quic

HTTP/3: simplified code.
author Roman Arutyunyan <arut@nginx.com>
date Wed, 12 Jan 2022 11:57:06 +0300
parents 9aff230f10d1
children aa3c59524e2f
files src/http/ngx_http_request.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -2970,7 +2970,7 @@ ngx_http_test_reading(ngx_http_request_t
 #if (NGX_HTTP_V3)
 
     if (c->quic) {
-        if (c->read->error) {
+        if (rev->error) {
             err = 0;
             goto closed;
         }