comparison src/core/ngx_connection.h @ 13:2aba961a1d34

nginx-0.0.1-2002-09-16-19:01:44 import
author Igor Sysoev <igor@sysoev.ru>
date Mon, 16 Sep 2002 15:01:44 +0000
parents 708f8bb772ec
children 72ad26c77d2d
comparison
equal deleted inserted replaced
12:055ed05235ae 13:2aba961a1d34
1 #ifndef _NGX_CONNECTION_H_INCLUDED_ 1 #ifndef _NGX_CONNECTION_H_INCLUDED_
2 #define _NGX_CONNECTION_H_INCLUDED_ 2 #define _NGX_CONNECTION_H_INCLUDED_
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_alloc.h> 7 #include <ngx_alloc.h>
7 #include <ngx_server.h> 8 #include <ngx_server.h>
8 9
9 typedef struct ngx_connection_s ngx_connection_t; 10 typedef struct ngx_connection_s ngx_connection_t;
10 11
34 socklen_t socklen; 35 socklen_t socklen;
35 size_t addr; 36 size_t addr;
36 char *addr_text; 37 char *addr_text;
37 size_t addr_textlen; 38 size_t addr_textlen;
38 39
40 ngx_hunk_t *buffer;
39 unsigned int post_accept_timeout; 41 unsigned int post_accept_timeout;
40 42
41 unsigned unexpected_eof:1; 43 unsigned unexpected_eof:1;
42 }; 44 };
43 45