mirror of
https://github.com/nginx/nginx.git
synced 2025-01-19 18:13:01 +08:00
Fixed return codes in ngx_quic_add_handshake_data() callback.
This commit is contained in:
parent
5352a71779
commit
a4a641fa6c
@ -406,7 +406,7 @@ ngx_quic_add_handshake_data(ngx_ssl_conn_t *ssl_conn,
|
||||
qc->error = NGX_QUIC_ERR_TRANSPORT_PARAMETER_ERROR;
|
||||
qc->error_reason = "failed to process transport parameters";
|
||||
|
||||
return NGX_ERROR;
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (qc->ctp.max_idle_timeout > 0
|
||||
@ -423,7 +423,7 @@ ngx_quic_add_handshake_data(ngx_ssl_conn_t *ssl_conn,
|
||||
|
||||
ngx_log_error(NGX_LOG_INFO, c->log, 0,
|
||||
"quic maximum packet size is invalid");
|
||||
return NGX_ERROR;
|
||||
return 0;
|
||||
}
|
||||
|
||||
qc->client_tp_done = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user