comparison src/event/quic/ngx_event_quic_output.h @ 8916:ff473a6f656c quic

QUIC: ngx_quic_send_alert() callback moved to its place.
author Sergey Kandaurov <pluknet@nginx.com>
date Tue, 30 Nov 2021 14:30:59 +0300
parents 4117aa7fa38e
children 501f28679d56
comparison
equal deleted inserted replaced
8915:095f8a3e143d 8916:ff473a6f656c
17 ngx_int_t ngx_quic_output(ngx_connection_t *c); 17 ngx_int_t ngx_quic_output(ngx_connection_t *c);
18 18
19 ngx_int_t ngx_quic_negotiate_version(ngx_connection_t *c, 19 ngx_int_t ngx_quic_negotiate_version(ngx_connection_t *c,
20 ngx_quic_header_t *inpkt); 20 ngx_quic_header_t *inpkt);
21 21
22 int ngx_quic_send_alert(ngx_ssl_conn_t *ssl_conn,
23 enum ssl_encryption_level_t level, uint8_t alert);
24
25 ngx_int_t ngx_quic_send_stateless_reset(ngx_connection_t *c, 22 ngx_int_t ngx_quic_send_stateless_reset(ngx_connection_t *c,
26 ngx_quic_conf_t *conf, ngx_quic_header_t *pkt); 23 ngx_quic_conf_t *conf, ngx_quic_header_t *pkt);
27 ngx_int_t ngx_quic_send_cc(ngx_connection_t *c); 24 ngx_int_t ngx_quic_send_cc(ngx_connection_t *c);
28 ngx_int_t ngx_quic_send_early_cc(ngx_connection_t *c, 25 ngx_int_t ngx_quic_send_early_cc(ngx_connection_t *c,
29 ngx_quic_header_t *inpkt, ngx_uint_t err, const char *reason); 26 ngx_quic_header_t *inpkt, ngx_uint_t err, const char *reason);