comparison src/os/unix/ngx_writev_chain.c @ 587:284cc140593b release-0.3.15

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.
author Igor Sysoev <igor@sysoev.ru>
date Wed, 07 Dec 2005 14:51:31 +0000
parents 326634fb9d47
children 9262f520ce21
comparison
equal deleted inserted replaced
586:3176ab31be40 587:284cc140593b
31 return in; 31 return in;
32 } 32 }
33 33
34 #if (NGX_HAVE_KQUEUE) 34 #if (NGX_HAVE_KQUEUE)
35 35
36 if ((ngx_event_flags & NGX_USE_KQUEUE_EVENT) 36 if ((ngx_event_flags & NGX_USE_KQUEUE_EVENT) && wev->pending_eof) {
37 && wev->pending_eof
38 /* FreeBSD 5.x-6.x may erroneously report ETIMEDOUT */
39 && wev->kq_errno != NGX_ETIMEDOUT)
40 {
41 (void) ngx_connection_error(c, wev->kq_errno, 37 (void) ngx_connection_error(c, wev->kq_errno,
42 "kevent() reported about an closed connection"); 38 "kevent() reported about an closed connection");
43 wev->error = 1; 39 wev->error = 1;
44 return NGX_CHAIN_ERROR; 40 return NGX_CHAIN_ERROR;
45 } 41 }