Mercurial > hg > nginx
comparison src/http/ngx_http_request.c @ 8630:279ad36f2f4b quic
QUIC: renamed c->qs to c->quic.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Tue, 10 Nov 2020 19:40:00 +0000 |
parents | 71b7453fb11f |
children | 507da0d3b070 |
comparison
equal
deleted
inserted
replaced
8629:feec2cc762f6 | 8630:279ad36f2f4b |
---|---|
328 } | 328 } |
329 } | 329 } |
330 | 330 |
331 #endif | 331 #endif |
332 | 332 |
333 if (c->qs == NULL) { | 333 if (c->quic == NULL) { |
334 c->log->connection = c->number; | 334 c->log->connection = c->number; |
335 | 335 |
336 qcf = ngx_http_get_module_srv_conf(hc->conf_ctx, | 336 qcf = ngx_http_get_module_srv_conf(hc->conf_ctx, |
337 ngx_http_quic_module); | 337 ngx_http_quic_module); |
338 ngx_quic_run(c, qcf); | 338 ngx_quic_run(c, qcf); |
339 return; | 339 return; |
340 } | 340 } |
341 | 341 |
342 phc = c->qs->parent->data; | 342 phc = c->quic->parent->data; |
343 | 343 |
344 if (phc->ssl_servername) { | 344 if (phc->ssl_servername) { |
345 hc->ssl_servername = phc->ssl_servername; | 345 hc->ssl_servername = phc->ssl_servername; |
346 hc->conf_ctx = phc->conf_ctx; | 346 hc->conf_ctx = phc->conf_ctx; |
347 | 347 |
2845 return; | 2845 return; |
2846 } | 2846 } |
2847 #endif | 2847 #endif |
2848 | 2848 |
2849 #if (NGX_HTTP_QUIC) | 2849 #if (NGX_HTTP_QUIC) |
2850 if (r->connection->qs) { | 2850 if (r->connection->quic) { |
2851 ngx_http_close_request(r, 0); | 2851 ngx_http_close_request(r, 0); |
2852 return; | 2852 return; |
2853 } | 2853 } |
2854 #endif | 2854 #endif |
2855 | 2855 |
3062 | 3062 |
3063 #endif | 3063 #endif |
3064 | 3064 |
3065 #if (NGX_HTTP_QUIC) | 3065 #if (NGX_HTTP_QUIC) |
3066 | 3066 |
3067 if (c->qs) { | 3067 if (c->quic) { |
3068 if (c->read->error) { | 3068 if (c->read->error) { |
3069 err = 0; | 3069 err = 0; |
3070 goto closed; | 3070 goto closed; |
3071 } | 3071 } |
3072 | 3072 |