Mercurial > hg > nginx-vendor-0-6
comparison src/os/unix/ngx_freebsd_sendfile_chain.c @ 136:3656228c0b56 NGINX_0_3_15
nginx 0.3.15
*) 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.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 07 Dec 2005 00:00:00 +0300 |
parents | 82d695e3d662 |
children | 36af50a5582d |
comparison
equal
deleted
inserted
replaced
135:c1ac76c0e9df | 136:3656228c0b56 |
---|---|
54 return in; | 54 return in; |
55 } | 55 } |
56 | 56 |
57 #if (NGX_HAVE_KQUEUE) | 57 #if (NGX_HAVE_KQUEUE) |
58 | 58 |
59 if ((ngx_event_flags & NGX_USE_KQUEUE_EVENT) | 59 if ((ngx_event_flags & NGX_USE_KQUEUE_EVENT) && wev->pending_eof) { |
60 && wev->pending_eof | |
61 /* FreeBSD 5.x-6.x may erroneously report ETIMEDOUT */ | |
62 && wev->kq_errno != NGX_ETIMEDOUT) | |
63 { | |
64 (void) ngx_connection_error(c, wev->kq_errno, | 60 (void) ngx_connection_error(c, wev->kq_errno, |
65 "kevent() reported about an closed connection"); | 61 "kevent() reported about an closed connection"); |
66 wev->error = 1; | 62 wev->error = 1; |
67 return NGX_CHAIN_ERROR; | 63 return NGX_CHAIN_ERROR; |
68 } | 64 } |