Mercurial > hg > nginx
comparison src/event/ngx_event_proxy.c @ 139:54307053f185
nginx-0.0.1-2003-10-07-19:30:05 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 07 Oct 2003 15:30:05 +0000 |
parents | 29bf798b583f |
children | e32405df0e77 |
comparison
equal
deleted
inserted
replaced
138:3b168e12bd2d | 139:54307053f185 |
---|---|
1 | 1 |
2 #include <ngx_config.h> | |
3 #include <ngx_core.h> | |
4 #include <ngx_event.h> | |
2 #include <ngx_event_proxy.h> | 5 #include <ngx_event_proxy.h> |
3 | 6 |
4 | 7 |
5 #define NGX_EVENT_COPY_FILTER 0 | 8 #define NGX_EVENT_COPY_FILTER 0 |
6 | 9 |
44 | 47 |
45 } else { | 48 } else { |
46 | 49 |
47 #if (HAVE_KQUEUE) /* kqueue notifies about the end of file or a pending error */ | 50 #if (HAVE_KQUEUE) /* kqueue notifies about the end of file or a pending error */ |
48 | 51 |
49 if (ngx_event_type == NGX_HAVE_KQUEUE_EVENT) { | 52 if (ngx_event_flags == NGX_HAVE_KQUEUE_EVENT) { |
50 | 53 |
51 if (p->upstream->read->error) { | 54 if (p->upstream->read->error) { |
52 ngx_log_error(NGX_LOG_ERR, p->log, | 55 ngx_log_error(NGX_LOG_ERR, p->log, |
53 p->upstream->read->error, | 56 p->upstream->read->error, |
54 "readv() failed"); | 57 "readv() failed"); |