Mercurial > hg > nginx
diff src/core/ngx_listen.h @ 6:669801705ab1
nginx-0.0.1-2002-08-26-19:18:19 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 26 Aug 2002 15:18:19 +0000 |
parents | 34a521b1a148 |
children | 77c7629a2627 |
line wrap: on
line diff
--- a/src/core/ngx_listen.h +++ b/src/core/ngx_listen.h @@ -11,22 +11,26 @@ typedef struct { ngx_socket_t fd; - void *addr; - size_t addr_len; - char *addr_text; + struct sockaddr *sockaddr; + socklen_t socklen; + size_t addr; + char *addr_text; + size_t addr_textlen; int family; int type; int protocol; + int flags; ngx_log_t *log; void *server; int (*handler)(ngx_connection_t *c); int backlog; + time_t post_accept_timeout; unsigned done:1; - unsigned close:1; + unsigned inherited:1; unsigned nonblocking:1; #if 0 unsigned overlapped:1;