]> git.kaiwu.me - nginx.git/commitdiff
HTTP/3: set c->error on read error in ngx_http_test_reading().
authorRoman Arutyunyan <arut@nginx.com>
Wed, 12 Jan 2022 08:57:46 +0000 (11:57 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Wed, 12 Jan 2022 08:57:46 +0000 (11:57 +0300)
Similar to other error/eof cases.

src/http/ngx_http_request.c

index fd3e880f8659d1d35306419b4087cc8aaa61e2dc..bc6c077db96a8c8c13c8e13615bab9929e3aba88 100644 (file)
@@ -2971,6 +2971,7 @@ ngx_http_test_reading(ngx_http_request_t *r)
 
     if (c->quic) {
         if (rev->error) {
+            c->error = 1;
             err = 0;
             goto closed;
         }