diff options
author | Igor Sysoev <igor@sysoev.ru> | 2005-08-30 10:55:07 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2005-08-30 10:55:07 +0000 |
commit | e5035397b01ec12f351a6a984f83091b821978cc (patch) | |
tree | 9e65f1b24c595346b666559264878cbb911bfcf7 /src/os/unix/ngx_freebsd_sendfile_chain.c | |
parent | e3c2cf87e537aba572b08afccabcb64976d43079 (diff) | |
download | nginx-e5035397b01ec12f351a6a984f83091b821978cc.tar.gz nginx-e5035397b01ec12f351a6a984f83091b821978cc.zip |
nginx-0.1.43-RELEASE importrelease-0.1.43
*) Feature: the listen(2) backlog in the "listen" directive can be
changed using the -HUP signal.
*) Feature: the geo2nginx.pl script was added to contrib.
*) Change: the FastCGI parameters with the empty values now are passed
to a server.
*) Bugfix: the segmentation fault occurred or the worker process may
got caught in an endless loop if the proxied or FastCGI server sent
the "Cache-Control" header line and the "expires" directive was
used; in the proxied mode the the bug had appeared in 0.1.29.
Diffstat (limited to 'src/os/unix/ngx_freebsd_sendfile_chain.c')
-rw-r--r-- | src/os/unix/ngx_freebsd_sendfile_chain.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/os/unix/ngx_freebsd_sendfile_chain.c b/src/os/unix/ngx_freebsd_sendfile_chain.c index a29aaf3c9..7ae594897 100644 --- a/src/os/unix/ngx_freebsd_sendfile_chain.c +++ b/src/os/unix/ngx_freebsd_sendfile_chain.c @@ -57,9 +57,8 @@ ngx_freebsd_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit) #if (NGX_HAVE_KQUEUE) if ((ngx_event_flags & NGX_USE_KQUEUE_EVENT) && wev->pending_eof) { - ngx_log_error(NGX_LOG_INFO, c->log, wev->kq_errno, - "kevent() reported about an closed connection"); - + (void) ngx_connection_error(c, wev->kq_errno, + "kevent() reported about an closed connection"); wev->error = 1; return NGX_CHAIN_ERROR; } @@ -228,8 +227,8 @@ ngx_freebsd_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit) if (err != NGX_EINTR) { wev->error = 1; - ngx_connection_error(c, err, - ngx_tcp_nopush_n " failed"); + (void) ngx_connection_error(c, err, + ngx_tcp_nopush_n " failed"); return NGX_CHAIN_ERROR; } @@ -276,7 +275,7 @@ ngx_freebsd_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit) } else { wev->error = 1; - ngx_connection_error(c, err, "sendfile() failed"); + (void) ngx_connection_error(c, err, "sendfile() failed"); return NGX_CHAIN_ERROR; } } |