diff src/http/v3/ngx_http_v3_request.c @ 8200: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 d70a38acaea0
children 9dce2978e4fd
line wrap: on
line diff
--- 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_reque
     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_reque
     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
         goto failed;
     }
 
-    h3c = c->qs->parent->data;
+    h3c = c->quic->parent->data;
     ngx_memcpy(hc, h3c, sizeof(ngx_http_connection_t));
     c->data = hc;