]> git.kaiwu.me - nginx.git/commit
QUIC: removed unnecessary closing of active/backup sockets.
authorVladimir Homutov <vl@nginx.com>
Thu, 18 Nov 2021 11:33:21 +0000 (14:33 +0300)
committerVladimir Homutov <vl@nginx.com>
Thu, 18 Nov 2021 11:33:21 +0000 (14:33 +0300)
commit0de6a1ebb48c13e658b0e94be1a3045a725c4624
treeca572b1bd2e23e50d1bd668018e6fcf4b922c563
parent82b4912a8ebbbff46a70c0186bde0a0e6cfdab2c
QUIC: removed unnecessary closing of active/backup sockets.

All open sockets are stored in a queue.  There is no need to close some
of them separately.  If it happens that active and backup point to same
socket, double close may happen (leading to possible segfault).
src/event/quic/ngx_event_quic_socket.c