summaryrefslogtreecommitdiffhomepage
path: root/src/core/ngx_connection.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2002-12-10 18:05:12 +0000
committerIgor Sysoev <igor@sysoev.ru>2002-12-10 18:05:12 +0000
commitb0869056bb4385a6b30fc58c653716c45ed33916 (patch)
tree8522c66320ee59e4671f23058a971d9556d1a6a0 /src/core/ngx_connection.h
parentef259d140f378be8d7936d04038354a93cccb461 (diff)
downloadnginx-b0869056bb4385a6b30fc58c653716c45ed33916.tar.gz
nginx-b0869056bb4385a6b30fc58c653716c45ed33916.tar.bz2
nginx-0.0.1-2002-12-10-21:05:12 import
Diffstat (limited to 'src/core/ngx_connection.h')
-rw-r--r--src/core/ngx_connection.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ngx_connection.h b/src/core/ngx_connection.h
index 2450ea3b8..b486f4be8 100644
--- a/src/core/ngx_connection.h
+++ b/src/core/ngx_connection.h
@@ -5,6 +5,7 @@
#include <ngx_log.h>
#include <ngx_hunk.h>
#include <ngx_alloc.h>
+#include <ngx_string.h>
#include <ngx_server.h>
typedef struct ngx_connection_s ngx_connection_t;
@@ -38,8 +39,7 @@ struct ngx_connection_s {
struct sockaddr *sockaddr;
socklen_t socklen;
size_t addr;
- char *addr_text;
- size_t addr_textlen;
+ ngx_str_t addr_text;
ngx_hunk_t *buffer;
unsigned int post_accept_timeout;