changeset 8961:aa3c59524e2f quic

HTTP/3: set c->error on read error in ngx_http_test_reading(). Similar to other error/eof cases.
author Roman Arutyunyan <arut@nginx.com>
date Wed, 12 Jan 2022 11:57:46 +0300
parents d76237ed9327
children 47f45a98f892
files src/http/ngx_http_request.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -2971,6 +2971,7 @@ ngx_http_test_reading(ngx_http_request_t
 
     if (c->quic) {
         if (rev->error) {
+            c->error = 1;
             err = 0;
             goto closed;
         }