diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2002-08-20 14:48:28 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2002-08-20 14:48:28 +0000 |
| commit | 2b54238a5f2edcca568c0676a779ef79ba152c91 (patch) | |
| tree | 2cb7eb660e691eaab2c4f031adf881b7c88bffc9 /src/core/ngx_connection.h | |
| parent | e0af1b89dcd100462a3195534b2f78a838ca85b5 (diff) | |
| download | nginx-2b54238a5f2edcca568c0676a779ef79ba152c91.tar.gz nginx-2b54238a5f2edcca568c0676a779ef79ba152c91.tar.bz2 | |
nginx-0.0.1-2002-08-20-18:48:28 import
Diffstat (limited to 'src/core/ngx_connection.h')
| -rw-r--r-- | src/core/ngx_connection.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/ngx_connection.h b/src/core/ngx_connection.h index 17bd58ac5..84cbd24f7 100644 --- a/src/core/ngx_connection.h +++ b/src/core/ngx_connection.h @@ -1,6 +1,7 @@ #ifndef _NGX_CONNECTION_H_INCLUDED_ #define _NGX_CONNECTION_H_INCLUDED_ +#include <ngx_socket.h> #include <ngx_log.h> #include <ngx_alloc.h> #include <ngx_server.h> @@ -21,14 +22,14 @@ struct ngx_connection_s { #endif ngx_log_t *log; + int (*handler)(ngx_connection_t *c); ngx_server_t *server; ngx_server_t *servers; ngx_pool_t *pool; }; -/* - +#if 0 cached file int fd; -2 unused, -1 closed (but read or mmaped), >=0 open char *name; @@ -49,6 +50,6 @@ cached file EV_VNODE should notify by some signal if diretory tree is changed or stat if aged >= N seconds (big enough) -*/ +#endif #endif /* _NGX_CONNECTION_H_INCLUDED_ */ |
