diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/os/unix/ngx_darwin_sendfile_chain.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/os/unix/ngx_darwin_sendfile_chain.c b/src/os/unix/ngx_darwin_sendfile_chain.c index f01651a11..c802e9f9a 100644 --- a/src/os/unix/ngx_darwin_sendfile_chain.c +++ b/src/os/unix/ngx_darwin_sendfile_chain.c @@ -111,6 +111,9 @@ ngx_darwin_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit) } send += trailer.size; + + } else { + trailer.count = 0; } /* |