Added copying addr_text to QUIC stream connections.

Now $remote_addr holds client address.
This commit is contained in:
Roman Arutyunyan 2020-03-18 20:28:28 +03:00
parent e63accd7bd
commit 0561665873

View File

@ -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;