diff 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
line wrap: on
line diff
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -330,7 +330,7 @@ ngx_http_init_connection(ngx_connection_
 
 #endif
 
-        if (c->qs == NULL) {
+        if (c->quic == NULL) {
             c->log->connection = c->number;
 
             qcf = ngx_http_get_module_srv_conf(hc->conf_ctx,
@@ -339,7 +339,7 @@ ngx_http_init_connection(ngx_connection_
             return;
         }
 
-        phc = c->qs->parent->data;
+        phc = c->quic->parent->data;
 
         if (phc->ssl_servername) {
             hc->ssl_servername = phc->ssl_servername;
@@ -2847,7 +2847,7 @@ ngx_http_finalize_connection(ngx_http_re
 #endif
 
 #if (NGX_HTTP_QUIC)
-    if (r->connection->qs) {
+    if (r->connection->quic) {
         ngx_http_close_request(r, 0);
         return;
     }
@@ -3064,7 +3064,7 @@ ngx_http_test_reading(ngx_http_request_t
 
 #if (NGX_HTTP_QUIC)
 
-    if (c->qs) {
+    if (c->quic) {
         if (c->read->error) {
             err = 0;
             goto closed;