diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2022-07-26 19:54:11 +0400 |
---|---|---|
committer | Sergey Kandaurov <pluknet@nginx.com> | 2022-07-26 19:54:11 +0400 |
commit | 41421e6e55ad59f87a6f98945feaf09b40b30ec1 (patch) | |
tree | 7b7a185dbee44e6a0a24880c5f7d5cfa40ff33c5 /src/os/unix | |
parent | c64e2ec1e94974193c286b63db4f58e6e499f5cb (diff) | |
parent | f7ea8c76b55f730daa3b63f5511feb564b44d901 (diff) | |
download | nginx-41421e6e55ad59f87a6f98945feaf09b40b30ec1.tar.gz nginx-41421e6e55ad59f87a6f98945feaf09b40b30ec1.zip |
Merged with the default branch.
Diffstat (limited to 'src/os/unix')
-rw-r--r-- | src/os/unix/ngx_readv_chain.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/os/unix/ngx_readv_chain.c b/src/os/unix/ngx_readv_chain.c index 370a4011f..48fa0a73d 100644 --- a/src/os/unix/ngx_readv_chain.c +++ b/src/os/unix/ngx_readv_chain.c @@ -46,6 +46,7 @@ ngx_readv_chain(ngx_connection_t *c, ngx_chain_t *chain, off_t limit) return 0; } else { + rev->ready = 0; return NGX_AGAIN; } } @@ -63,6 +64,7 @@ ngx_readv_chain(ngx_connection_t *c, ngx_chain_t *chain, off_t limit) rev->pending_eof, rev->available); if (rev->available == 0 && !rev->pending_eof) { + rev->ready = 0; return NGX_AGAIN; } } |