axe unneeded port field
diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c index ecd9c97..080ef8e 100644 --- a/src/http/ngx_http.c +++ b/src/http/ngx_http.c
@@ -1647,8 +1647,6 @@ ls->servers = hport; - hport->port = ntohs(port->port); - for (i = ls->addr_text.len - 1; i; i--) { if (ls->addr_text.data[i] == ':') {
diff --git a/src/http/ngx_http_core_module.h b/src/http/ngx_http_core_module.h index 2fdc102..018bd1b 100644 --- a/src/http/ngx_http_core_module.h +++ b/src/http/ngx_http_core_module.h
@@ -200,7 +200,6 @@ typedef struct { - in_port_t port; ngx_str_t port_text; /* ngx_http_in_addr_t or ngx_http_in6_addr_t */