Mercurial > hg > nginx
changeset 9057:7b83da3bdf9f quic
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().
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Mon, 22 Aug 2022 14:09:03 +0400 |
parents | be39ffdf9208 |
children | b0c2234aaa9f |
files | src/http/ngx_http_request.c src/http/v3/ngx_http_v3.h src/http/v3/ngx_http_v3_request.c |
diffstat | 3 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_request.c Wed Nov 30 14:09:08 2022 +0400 +++ b/src/http/ngx_http_request.c Mon Aug 22 14:09:03 2022 +0400 @@ -326,7 +326,7 @@ #if (NGX_HTTP_V3) if (hc->addr_conf->http3) { - ngx_http_v3_init(c); + ngx_http_v3_init_stream(c); return; } #endif @@ -3786,7 +3786,7 @@ #if (NGX_HTTP_V3) if (c->quic) { - ngx_http_v3_reset_connection(c); + ngx_http_v3_reset_stream(c); } #endif
--- a/src/http/v3/ngx_http_v3.h Wed Nov 30 14:09:08 2022 +0400 +++ b/src/http/v3/ngx_http_v3.h Mon Aug 22 14:09:03 2022 +0400 @@ -155,8 +155,8 @@ }; -void ngx_http_v3_init(ngx_connection_t *c); -void ngx_http_v3_reset_connection(ngx_connection_t *c); +void ngx_http_v3_init_stream(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_check_flood(ngx_connection_t *c); void ngx_http_v3_shutdown(ngx_connection_t *c);
--- a/src/http/v3/ngx_http_v3_request.c Wed Nov 30 14:09:08 2022 +0400 +++ b/src/http/v3/ngx_http_v3_request.c Mon Aug 22 14:09:03 2022 +0400 @@ -55,7 +55,7 @@ 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_v3_srv_conf_t *h3scf; @@ -362,7 +362,7 @@ 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;