comparison src/event/ngx_event_accept.c @ 8:708f8bb772ec

nginx-0.0.1-2002-09-02-18:48:24 import
author Igor Sysoev <igor@sysoev.ru>
date Mon, 02 Sep 2002 14:48:24 +0000
parents 669801705ab1
children 77c7629a2627
comparison
equal deleted inserted replaced
7:b5481d6fbbd4 8:708f8bb772ec
61 = &ngx_connections[s]; 61 = &ngx_connections[s];
62 ngx_connections[s].read = &ngx_read_events[s]; 62 ngx_connections[s].read = &ngx_read_events[s];
63 ngx_connections[s].write = &ngx_write_events[s]; 63 ngx_connections[s].write = &ngx_write_events[s];
64 64
65 ngx_connections[s].fd = s; 65 ngx_connections[s].fd = s;
66 ngx_read_events[s].unexpected_eof = 1; 66 ngx_connections[s].unexpected_eof = 1;
67 ngx_write_events[s].write = 1;
67 ngx_write_events[s].ready = 1; 68 ngx_write_events[s].ready = 1;
68 69
69 ngx_write_events[s].timer = ngx_read_events[s].timer = 10000; 70 ngx_write_events[s].timer = ngx_read_events[s].timer = 10000;
70 71
71 ngx_write_events[s].timer_handler = 72 ngx_write_events[s].timer_handler =