diff options
Diffstat (limited to 'src/nxt_router.c')
-rw-r--r-- | src/nxt_router.c | 3 |
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; |