mirror of
https://github.com/nginx/nginx.git
synced 2025-07-29 00:56:15 +08:00
HTTP/3: renamed functions.
ngx_http_v3_init() is renamed ngx_http_v3_init_stream(). ngx_http_v3_reset_connection() is renamed to ngx_http_v3_reset_stream().
This commit is contained in:
parent
7e3aa23991
commit
8a1deaca78
@ -326,7 +326,7 @@ ngx_http_init_connection(ngx_connection_t *c)
|
|||||||
|
|
||||||
#if (NGX_HTTP_V3)
|
#if (NGX_HTTP_V3)
|
||||||
if (hc->addr_conf->http3) {
|
if (hc->addr_conf->http3) {
|
||||||
ngx_http_v3_init(c);
|
ngx_http_v3_init_stream(c);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
@ -3786,7 +3786,7 @@ ngx_http_close_connection(ngx_connection_t *c)
|
|||||||
|
|
||||||
#if (NGX_HTTP_V3)
|
#if (NGX_HTTP_V3)
|
||||||
if (c->quic) {
|
if (c->quic) {
|
||||||
ngx_http_v3_reset_connection(c);
|
ngx_http_v3_reset_stream(c);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -155,8 +155,8 @@ struct ngx_http_v3_session_s {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
void ngx_http_v3_init(ngx_connection_t *c);
|
void ngx_http_v3_init_stream(ngx_connection_t *c);
|
||||||
void ngx_http_v3_reset_connection(ngx_connection_t *c);
|
void ngx_http_v3_reset_stream(ngx_connection_t *c);
|
||||||
ngx_int_t ngx_http_v3_init_session(ngx_connection_t *c);
|
ngx_int_t ngx_http_v3_init_session(ngx_connection_t *c);
|
||||||
ngx_int_t ngx_http_v3_check_flood(ngx_connection_t *c);
|
ngx_int_t ngx_http_v3_check_flood(ngx_connection_t *c);
|
||||||
void ngx_http_v3_shutdown(ngx_connection_t *c);
|
void ngx_http_v3_shutdown(ngx_connection_t *c);
|
||||||
|
@ -55,7 +55,7 @@ static const struct {
|
|||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
ngx_http_v3_init(ngx_connection_t *c)
|
ngx_http_v3_init_stream(ngx_connection_t *c)
|
||||||
{
|
{
|
||||||
ngx_http_connection_t *hc, *phc;
|
ngx_http_connection_t *hc, *phc;
|
||||||
ngx_http_v3_srv_conf_t *h3scf;
|
ngx_http_v3_srv_conf_t *h3scf;
|
||||||
@ -362,7 +362,7 @@ ngx_http_v3_wait_request_handler(ngx_event_t *rev)
|
|||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
ngx_http_v3_reset_connection(ngx_connection_t *c)
|
ngx_http_v3_reset_stream(ngx_connection_t *c)
|
||||||
{
|
{
|
||||||
ngx_http_v3_srv_conf_t *h3scf;
|
ngx_http_v3_srv_conf_t *h3scf;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user