Mercurial > hg > nginx
comparison src/os/unix/ngx_send.c @ 537:c9ad0d9c7d59 release-0.1.43
nginx-0.1.43-RELEASE import
*) 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.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 30 Aug 2005 10:55:07 +0000 |
parents | 9b8c906f6e63 |
children | 326634fb9d47 |
comparison
equal
deleted
inserted
replaced
536:2ae4b98c5bcb | 537:c9ad0d9c7d59 |
---|---|
18 wev = c->write; | 18 wev = c->write; |
19 | 19 |
20 #if (NGX_HAVE_KQUEUE) | 20 #if (NGX_HAVE_KQUEUE) |
21 | 21 |
22 if ((ngx_event_flags & NGX_USE_KQUEUE_EVENT) && wev->pending_eof) { | 22 if ((ngx_event_flags & NGX_USE_KQUEUE_EVENT) && wev->pending_eof) { |
23 ngx_log_error(NGX_LOG_INFO, c->log, wev->kq_errno, | 23 (void) ngx_connection_error(c, wev->kq_errno, |
24 "kevent() reported about an closed connection"); | 24 "kevent() reported about an closed connection"); |
25 | |
26 wev->error = 1; | 25 wev->error = 1; |
27 return NGX_ERROR; | 26 return NGX_ERROR; |
28 } | 27 } |
29 | 28 |
30 #endif | 29 #endif |
61 return NGX_AGAIN; | 60 return NGX_AGAIN; |
62 } | 61 } |
63 | 62 |
64 } else { | 63 } else { |
65 wev->error = 1; | 64 wev->error = 1; |
66 ngx_connection_error(c, err, "send() failed"); | 65 (void) ngx_connection_error(c, err, "send() failed"); |
67 return NGX_ERROR; | 66 return NGX_ERROR; |
68 } | 67 } |
69 } | 68 } |
70 } | 69 } |