]> git.kaiwu.me - nginx.git/commit
QUIC: fixed handling of clients connected to wildcard address.
authorVladimir Homutov <vl@nginx.com>
Mon, 7 Dec 2020 11:06:00 +0000 (14:06 +0300)
committerVladimir Homutov <vl@nginx.com>
Mon, 7 Dec 2020 11:06:00 +0000 (14:06 +0300)
commited203729adfd3982072187a2e78f6b6437a48c93
tree4bd31f29cbfc3eea9f1027f33e68ec5d3cb4a163
parent1d748f1ca351d255a7d256c7a99819e96f5c6a7c
QUIC: fixed handling of clients connected to wildcard address.

The patch replaces c->send() occurences with c->send_chain(), because the
latter accounts for the local address, which may be different if the wildcard
listener is used.

Previously, server sent response to client using address different from
one client connected to.
src/event/ngx_event_quic.c