Mercurial > hg > nginx-mail
comparison src/os/unix/ngx_writev_chain.c @ 86:962c43960644 NGINX_0_1_43
nginx 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 bug appeared in 0.1.29.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 30 Aug 2005 00:00:00 +0400 |
parents | 72eb30262aac |
children | 146eff53ab60 |
comparison
equal
deleted
inserted
replaced
85:ed21d13ec23c | 86:962c43960644 |
---|---|
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) && wev->pending_eof) { | 36 if ((ngx_event_flags & NGX_USE_KQUEUE_EVENT) && wev->pending_eof) { |
37 ngx_log_error(NGX_LOG_INFO, c->log, wev->kq_errno, | 37 (void) ngx_connection_error(c, wev->kq_errno, |
38 "kevent() reported about an closed connection"); | 38 "kevent() reported about an closed connection"); |
39 | |
40 wev->error = 1; | 39 wev->error = 1; |
41 return NGX_CHAIN_ERROR; | 40 return NGX_CHAIN_ERROR; |
42 } | 41 } |
43 | 42 |
44 #endif | 43 #endif |
115 ngx_log_debug0(NGX_LOG_DEBUG_EVENT, c->log, err, | 114 ngx_log_debug0(NGX_LOG_DEBUG_EVENT, c->log, err, |
116 "writev() not ready"); | 115 "writev() not ready"); |
117 | 116 |
118 } else { | 117 } else { |
119 wev->error = 1; | 118 wev->error = 1; |
120 ngx_connection_error(c, err, "writev() failed"); | 119 (void) ngx_connection_error(c, err, "writev() failed"); |
121 return NGX_CHAIN_ERROR; | 120 return NGX_CHAIN_ERROR; |
122 } | 121 } |
123 } | 122 } |
124 | 123 |
125 sent = n > 0 ? n : 0; | 124 sent = n > 0 ? n : 0; |