Mercurial > hg > nginx-quic
comparison src/core/ngx_connection.h @ 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 | 72ad26c77d2d |
children | 53cb81681040 |
comparison
equal
deleted
inserted
replaced
23:f540a63026c9 | 24:77c7629a2627 |
---|---|
3 | 3 |
4 #include <ngx_socket.h> | 4 #include <ngx_socket.h> |
5 #include <ngx_log.h> | 5 #include <ngx_log.h> |
6 #include <ngx_hunk.h> | 6 #include <ngx_hunk.h> |
7 #include <ngx_alloc.h> | 7 #include <ngx_alloc.h> |
8 #include <ngx_string.h> | |
8 #include <ngx_server.h> | 9 #include <ngx_server.h> |
9 | 10 |
10 typedef struct ngx_connection_s ngx_connection_t; | 11 typedef struct ngx_connection_s ngx_connection_t; |
11 | 12 |
12 #ifdef NGX_EVENT | 13 #ifdef NGX_EVENT |
36 | 37 |
37 int family; | 38 int family; |
38 struct sockaddr *sockaddr; | 39 struct sockaddr *sockaddr; |
39 socklen_t socklen; | 40 socklen_t socklen; |
40 size_t addr; | 41 size_t addr; |
41 char *addr_text; | 42 ngx_str_t addr_text; |
42 size_t addr_textlen; | |
43 | 43 |
44 ngx_hunk_t *buffer; | 44 ngx_hunk_t *buffer; |
45 unsigned int post_accept_timeout; | 45 unsigned int post_accept_timeout; |
46 | 46 |
47 unsigned unexpected_eof:1; | 47 unsigned unexpected_eof:1; |