Unbreak sending CONNECTION_CLOSE from the send_alert callback.

This commit is contained in:
Sergey Kandaurov 2020-03-27 12:52:08 +03:00
parent 41a8b8d392
commit 3fbdc04072

View File

@ -304,10 +304,6 @@ ngx_quic_send_alert(ngx_ssl_conn_t *ssl_conn, enum ssl_encryption_level_t level,
c = ngx_ssl_get_connection((ngx_ssl_conn_t *) ssl_conn);
if (c->quic->closing) {
return 1;
}
ngx_log_debug2(NGX_LOG_DEBUG_EVENT, c->log, 0,
"ngx_quic_send_alert(), lvl=%d, alert=%d",
(int) level, (int) alert);