summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_router.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_router.c')
-rw-r--r--src/nxt_router.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nxt_router.c b/src/nxt_router.c
index 77d830be..34d163dc 100644
--- a/src/nxt_router.c
+++ b/src/nxt_router.c
@@ -1105,6 +1105,9 @@ nxt_router_conn_http_header_parse(nxt_task_t *task, void *obj, void *data)
}
c->socket.data = ap;
+
+ ap->r.remote.start = nxt_sockaddr_address(c->remote);
+ ap->r.remote.length = c->remote->address_length;
}
h = &ap->r.header;