aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/event/quic/ngx_event_quic_socket.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/event/quic/ngx_event_quic_socket.c b/src/event/quic/ngx_event_quic_socket.c
index 3b507fca8..4a9fb232d 100644
--- a/src/event/quic/ngx_event_quic_socket.c
+++ b/src/event/quic/ngx_event_quic_socket.c
@@ -288,12 +288,6 @@ ngx_quic_close_sockets(ngx_connection_t *c)
qc = ngx_quic_get_connection(c);
- ngx_quic_close_socket(c, qc->socket);
-
- if (qc->backup) {
- ngx_quic_close_socket(c, qc->backup);
- }
-
while (!ngx_queue_empty(&qc->sockets)) {
q = ngx_queue_head(&qc->sockets);
qsock = ngx_queue_data(q, ngx_quic_socket_t, queue);