comparison src/core/ngx_connection.c @ 8441:db8fe75c9c7a quic

Do not close QUIC sockets in ngx_close_listening_sockets(). This breaks graceful shutdown of QUIC connections in terms of quic-transport.
author Sergey Kandaurov <pluknet@nginx.com>
date Tue, 23 Jun 2020 11:57:00 +0300
parents a5a1b3fad834
children 001ec7fce567
comparison
equal deleted inserted replaced
8440:f9592e804834 8441:db8fe75c9c7a
1031 ngx_accept_mutex_held = 0; 1031 ngx_accept_mutex_held = 0;
1032 ngx_use_accept_mutex = 0; 1032 ngx_use_accept_mutex = 0;
1033 1033
1034 ls = cycle->listening.elts; 1034 ls = cycle->listening.elts;
1035 for (i = 0; i < cycle->listening.nelts; i++) { 1035 for (i = 0; i < cycle->listening.nelts; i++) {
1036
1037 if (ls[i].quic) {
1038 continue;
1039 }
1036 1040
1037 c = ls[i].connection; 1041 c = ls[i].connection;
1038 1042
1039 if (c) { 1043 if (c) {
1040 if (c->read->active) { 1044 if (c->read->active) {