HTTP/3: set c->error on read error in ngx_http_test_reading().

Similar to other error/eof cases.
This commit is contained in:
Roman Arutyunyan 2022-01-12 11:57:46 +03:00
parent 5ab94d4219
commit 38cfe35779

View File

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