Mercurial > hg > nginx
comparison src/http/v3/ngx_http_v3_request.c @ 8770:67f0eb150047 quic
HTTP/3: renamed ngx_http_v3_connection_t to ngx_http_v3_session_t.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Wed, 05 May 2021 12:54:10 +0300 |
parents | 40d710a66aef |
children | 0ac25efb2da3 |
comparison
equal
deleted
inserted
replaced
8769:9ec3e71f8a61 | 8770:67f0eb150047 |
---|---|
57 ngx_buf_t *b; | 57 ngx_buf_t *b; |
58 ngx_event_t *rev; | 58 ngx_event_t *rev; |
59 ngx_pool_cleanup_t *cln; | 59 ngx_pool_cleanup_t *cln; |
60 ngx_http_request_t *r; | 60 ngx_http_request_t *r; |
61 ngx_http_connection_t *hc; | 61 ngx_http_connection_t *hc; |
62 ngx_http_v3_connection_t *h3c; | 62 ngx_http_v3_session_t *h3c; |
63 ngx_http_core_loc_conf_t *clcf; | 63 ngx_http_core_loc_conf_t *clcf; |
64 ngx_http_core_srv_conf_t *cscf; | 64 ngx_http_core_srv_conf_t *cscf; |
65 | 65 |
66 if (ngx_http_v3_init_session(c) != NGX_OK) { | 66 if (ngx_http_v3_init_session(c) != NGX_OK) { |
67 ngx_http_v3_finalize_connection(c, NGX_HTTP_V3_ERR_INTERNAL_ERROR, | 67 ngx_http_v3_finalize_connection(c, NGX_HTTP_V3_ERR_INTERNAL_ERROR, |
183 static void | 183 static void |
184 ngx_http_v3_cleanup_request(void *data) | 184 ngx_http_v3_cleanup_request(void *data) |
185 { | 185 { |
186 ngx_connection_t *c = data; | 186 ngx_connection_t *c = data; |
187 | 187 |
188 ngx_http_v3_session_t *h3c; | |
188 ngx_http_core_loc_conf_t *clcf; | 189 ngx_http_core_loc_conf_t *clcf; |
189 ngx_http_v3_connection_t *h3c; | |
190 | 190 |
191 h3c = ngx_http_v3_get_session(c); | 191 h3c = ngx_http_v3_get_session(c); |
192 | 192 |
193 if (--h3c->nrequests == 0) { | 193 if (--h3c->nrequests == 0) { |
194 clcf = ngx_http_v3_get_module_loc_conf(c, ngx_http_core_module); | 194 clcf = ngx_http_v3_get_module_loc_conf(c, ngx_http_core_module); |