From cdc463042b9406e4703d21202bc363e86321bb5d Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Wed, 7 Dec 2005 14:51:31 +0000 Subject: nginx-0.3.15-RELEASE import *) Feature: the new 444 code of the "return" directive to close connection. *) Feature: the "so_keepalive" directive in IMAP/POP3 proxy. *) Bugfix: if there are unclosed connection nginx now calls abort() only on gracefull quit and active "debug_points" directive. --- src/os/unix/ngx_send.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/os/unix/ngx_send.c') diff --git a/src/os/unix/ngx_send.c b/src/os/unix/ngx_send.c index 0c3f959da..167f2eca3 100644 --- a/src/os/unix/ngx_send.c +++ b/src/os/unix/ngx_send.c @@ -19,11 +19,7 @@ ssize_t ngx_unix_send(ngx_connection_t *c, u_char *buf, size_t size) #if (NGX_HAVE_KQUEUE) - if ((ngx_event_flags & NGX_USE_KQUEUE_EVENT) - && wev->pending_eof - /* FreeBSD 5.x-6.x may erroneously report ETIMEDOUT */ - && wev->kq_errno != NGX_ETIMEDOUT) - { + if ((ngx_event_flags & NGX_USE_KQUEUE_EVENT) && wev->pending_eof) { (void) ngx_connection_error(c, wev->kq_errno, "kevent() reported about an closed connection"); wev->error = 1; -- cgit v1.2.3