From 0561665873037ce3c5c9e4888982fa32f5c35727 Mon Sep 17 00:00:00 2001 From: Roman Arutyunyan Date: Wed, 18 Mar 2020 20:28:28 +0300 Subject: [PATCH] Added copying addr_text to QUIC stream connections. Now $remote_addr holds client address. --- src/event/ngx_event_quic.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/event/ngx_event_quic.c b/src/event/ngx_event_quic.c index b77ae0f0c..3c9c01e79 100644 --- a/src/event/ngx_event_quic.c +++ b/src/event/ngx_event_quic.c @@ -1287,6 +1287,7 @@ ngx_quic_create_stream(ngx_connection_t *c, ngx_uint_t id) sn->c->listening = c->listening; sn->c->sockaddr = c->sockaddr; sn->c->local_sockaddr = c->local_sockaddr; + sn->c->addr_text = c->addr_text; rev = sn->c->read; wev = sn->c->write;