Mercurial > hg > nginx
comparison src/http/ngx_http_request.c @ 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 | 8d0753760546 |
comparison
equal
deleted
inserted
replaced
8960:d76237ed9327 | 8961:aa3c59524e2f |
---|---|
2969 | 2969 |
2970 #if (NGX_HTTP_V3) | 2970 #if (NGX_HTTP_V3) |
2971 | 2971 |
2972 if (c->quic) { | 2972 if (c->quic) { |
2973 if (rev->error) { | 2973 if (rev->error) { |
2974 c->error = 1; | |
2974 err = 0; | 2975 err = 0; |
2975 goto closed; | 2976 goto closed; |
2976 } | 2977 } |
2977 | 2978 |
2978 return; | 2979 return; |