mirror of
https://github.com/nginx/nginx.git
synced 2024-12-14 03:39:00 +08:00
Unbreak sending CONNECTION_CLOSE from the send_alert callback.
This commit is contained in:
parent
41a8b8d392
commit
3fbdc04072
@ -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);
|
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_log_debug2(NGX_LOG_DEBUG_EVENT, c->log, 0,
|
||||||
"ngx_quic_send_alert(), lvl=%d, alert=%d",
|
"ngx_quic_send_alert(), lvl=%d, alert=%d",
|
||||||
(int) level, (int) alert);
|
(int) level, (int) alert);
|
||||||
|
Loading…
Reference in New Issue
Block a user