diff options
author | Roman Arutyunyan <arut@nginx.com> | 2020-11-10 19:40:00 +0000 |
---|---|---|
committer | Roman Arutyunyan <arut@nginx.com> | 2020-11-10 19:40:00 +0000 |
commit | 2fd31c8959fbae8f069d09b61f339358214e75d1 (patch) | |
tree | 0ab95bedaf0ba65c7f0cf1d1382efd24e18a0bfa /src/http/v3/ngx_http_v3_request.c | |
parent | 4b41b1478f108800d30bff981204bb0b85fc809e (diff) | |
download | nginx-2fd31c8959fbae8f069d09b61f339358214e75d1.tar.gz nginx-2fd31c8959fbae8f069d09b61f339358214e75d1.zip |
QUIC: renamed c->qs to c->quic.
Diffstat (limited to 'src/http/v3/ngx_http_v3_request.c')
-rw-r--r-- | src/http/v3/ngx_http_v3_request.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/http/v3/ngx_http_v3_request.c b/src/http/v3/ngx_http_v3_request.c index d9f4c9d55..5511e3031 100644 --- a/src/http/v3/ngx_http_v3_request.c +++ b/src/http/v3/ngx_http_v3_request.c @@ -469,7 +469,7 @@ ngx_http_v3_create_header(ngx_http_request_t *r) out = NULL; ll = &out; - if ((c->qs->id & NGX_QUIC_STREAM_UNIDIRECTIONAL) == 0 + if ((c->quic->id & NGX_QUIC_STREAM_UNIDIRECTIONAL) == 0 && r->method != NGX_HTTP_HEAD) { if (ngx_http_v3_push_resources(r, &ll) != NGX_OK) { @@ -1123,7 +1123,7 @@ ngx_http_v3_push_resource(ngx_http_request_t *r, ngx_str_t *path, ngx_http_v3_connection_t *h3c; c = r->connection; - h3c = c->qs->parent->data; + h3c = c->quic->parent->data; h3scf = ngx_http_get_module_srv_conf(r, ngx_http_v3_module); ngx_log_debug5(NGX_LOG_DEBUG_HTTP, c->log, 0, @@ -1196,7 +1196,7 @@ ngx_http_v3_create_push_request(ngx_http_request_t *pr, ngx_str_t *path, goto failed; } - h3c = c->qs->parent->data; + h3c = c->quic->parent->data; ngx_memcpy(hc, h3c, sizeof(ngx_http_connection_t)); c->data = hc; |