comparison src/event/ngx_event_accept.c @ 24:77c7629a2627

nginx-0.0.1-2002-12-10-21:05:12 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 10 Dec 2002 18:05:12 +0000
parents 708f8bb772ec
children 53cb81681040
comparison
equal deleted inserted replaced
23:f540a63026c9 24:77c7629a2627
52 52
53 ngx_connections[s].sockaddr = cn->sockaddr; 53 ngx_connections[s].sockaddr = cn->sockaddr;
54 ngx_connections[s].family = cn->family; 54 ngx_connections[s].family = cn->family;
55 ngx_connections[s].socklen = cn->socklen; 55 ngx_connections[s].socklen = cn->socklen;
56 ngx_connections[s].addr = cn->addr; 56 ngx_connections[s].addr = cn->addr;
57 ngx_connections[s].addr_textlen = cn->addr_textlen; 57 ngx_connections[s].addr_text.len = cn->addr_text.len;
58 ngx_connections[s].post_accept_timeout = cn->post_accept_timeout; 58 ngx_connections[s].post_accept_timeout = cn->post_accept_timeout;
59 59
60 ngx_read_events[s].data = ngx_write_events[s].data 60 ngx_read_events[s].data = ngx_write_events[s].data
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];