aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.h
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2020-08-11 10:41:39 +0300
committerRoman Arutyunyan <arut@nginx.com>2020-08-11 10:41:39 +0300
commit68c5d80ee5381db9ea20e2ef247153e300fe837c (patch)
treecfa29b25d2eb2a9239e4c280fd0d604db8f5995b /src/http/ngx_http_request.h
parente4ca695700b996f1347662a2666881fdc09ea703 (diff)
downloadnginx-68c5d80ee5381db9ea20e2ef247153e300fe837c.tar.gz
nginx-68c5d80ee5381db9ea20e2ef247153e300fe837c.zip
QUIC: fixed ngx_http_test_reading() for QUIC streams.
Previously this function generated an error trying to figure out if client shut down the write end of the connection. The reason for this error was that a QUIC stream has no socket descriptor. However checking for eof is not the right thing to do for an HTTP/3 QUIC stream since HTTP/3 clients are expected to shut down the write end of the stream after sending the request. Now the function handles QUIC streams separately. It checks if c->read->error is set. The error flags for c->read and c->write are now set for all streams when closing the QUIC connection instead of setting the pending_eof flag.
Diffstat (limited to 'src/http/ngx_http_request.h')
0 files changed, 0 insertions, 0 deletions