aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_connection.h
diff options
context:
space:
mode:
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;