diff src/http/ngx_http_request.c @ 8960:d76237ed9327 quic

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