]> git.kaiwu.me - nginx.git/commitdiff
HTTP/3: simplified code.
authorRoman Arutyunyan <arut@nginx.com>
Wed, 12 Jan 2022 08:57:06 +0000 (11:57 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Wed, 12 Jan 2022 08:57:06 +0000 (11:57 +0300)
src/http/ngx_http_request.c

index 12a8cd1441751975eb3d500ad6da7ff02ef70f42..fd3e880f8659d1d35306419b4087cc8aaa61e2dc 100644 (file)
@@ -2970,7 +2970,7 @@ ngx_http_test_reading(ngx_http_request_t *r)
 #if (NGX_HTTP_V3)
 
     if (c->quic) {
-        if (c->read->error) {
+        if (rev->error) {
             err = 0;
             goto closed;
         }