diff src/event/ngx_event_quic.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 feec2cc762f6
children e167c7b4cff4
line wrap: on
line diff
--- a/src/event/ngx_event_quic.c
+++ b/src/event/ngx_event_quic.c
@@ -5231,7 +5231,7 @@ ngx_quic_open_stream(ngx_connection_t *c
     ngx_quic_stream_t      *qs, *sn;
     ngx_quic_connection_t  *qc;
 
-    qs = c->qs;
+    qs = c->quic;
     qc = ngx_quic_get_connection(qs->parent);
 
     if (bidi) {
@@ -5482,7 +5482,7 @@ ngx_quic_create_stream(ngx_connection_t 
         return NULL;
     }
 
-    sn->c->qs = sn;
+    sn->c->quic = sn;
     sn->c->type = SOCK_STREAM;
     sn->c->pool = pool;
     sn->c->ssl = c->ssl;
@@ -5548,7 +5548,7 @@ ngx_quic_stream_recv(ngx_connection_t *c
     ngx_quic_stream_t      *qs;
     ngx_quic_connection_t  *qc;
 
-    qs = c->qs;
+    qs = c->quic;
     b = qs->b;
     pc = qs->parent;
     qc = ngx_quic_get_connection(pc);
@@ -5678,7 +5678,7 @@ ngx_quic_stream_send_chain(ngx_connectio
     ngx_quic_stream_t      *qs;
     ngx_quic_connection_t  *qc;
 
-    qs = c->qs;
+    qs = c->quic;
     pc = qs->parent;
     qc = ngx_quic_get_connection(pc);
     wev = c->write;
@@ -5797,7 +5797,7 @@ ngx_quic_max_stream_flow(ngx_connection_
     ngx_quic_stream_t      *qs;
     ngx_quic_connection_t  *qc;
 
-    qs = c->qs;
+    qs = c->quic;
     qc = ngx_quic_get_connection(qs->parent);
 
     size = NGX_QUIC_STREAM_BUFSIZE;
@@ -5855,7 +5855,7 @@ ngx_quic_stream_cleanup_handler(void *da
     ngx_quic_stream_t      *qs;
     ngx_quic_connection_t  *qc;
 
-    qs = c->qs;
+    qs = c->quic;
     pc = qs->parent;
     qc = ngx_quic_get_connection(pc);