Mercurial > hg > nginx-quic
comparison src/event/ngx_event_accept.c @ 75:869b10be682f
nginx-0.0.1-2003-04-14-21:04:58 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 14 Apr 2003 17:04:58 +0000 |
parents | e43f406e4525 |
children | 3973260705cc |
comparison
equal
deleted
inserted
replaced
74:17ab1af8c3dd | 75:869b10be682f |
---|---|
117 c->fd = s; | 117 c->fd = s; |
118 c->unexpected_eof = 1; | 118 c->unexpected_eof = 1; |
119 wev->write = 1; | 119 wev->write = 1; |
120 rev->first = wev->first = 1; | 120 rev->first = wev->first = 1; |
121 | 121 |
122 #if (HAVE_AIO_EVENT) | 122 #if (USE_KQUEUE) |
123 if (!(ngx_event_flags & NGX_HAVE_AIO_EVENT)) { | 123 wev->ready = 1; |
124 #else | |
125 if ((ngx_event_flags & NGX_USE_AIO_EVENT) == 0) { | |
124 wev->ready = 1; | 126 wev->ready = 1; |
125 } | 127 } |
126 #endif | 128 #endif |
127 | 129 |
128 /* STUB ? */ wev->timer = rev->timer = 10000; | 130 /* STUB ? */ wev->timer = rev->timer = 10000; |