mirror of
https://github.com/nginx/nginx.git
synced 2025-01-20 02:22:58 +08:00
Added copying addr_text to QUIC stream connections.
Now $remote_addr holds client address.
This commit is contained in:
parent
e63accd7bd
commit
0561665873
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user