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/stream | |
| parent | 4b41b1478f108800d30bff981204bb0b85fc809e (diff) | |
| download | nginx-2fd31c8959fbae8f069d09b61f339358214e75d1.tar.gz nginx-2fd31c8959fbae8f069d09b61f339358214e75d1.tar.bz2 | |
QUIC: renamed c->qs to c->quic.
Diffstat (limited to 'src/stream')
| -rw-r--r-- | src/stream/ngx_stream_core_module.c | 2 | ||||
| -rw-r--r-- | src/stream/ngx_stream_handler.c | 2 | ||||
| -rw-r--r-- | src/stream/ngx_stream_quic_module.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/stream/ngx_stream_core_module.c b/src/stream/ngx_stream_core_module.c index 6990ae3f6..5f4fe13a0 100644 --- a/src/stream/ngx_stream_core_module.c +++ b/src/stream/ngx_stream_core_module.c @@ -326,7 +326,7 @@ ngx_stream_core_content_phase(ngx_stream_session_t *s, if (c->type == SOCK_STREAM #if (NGX_STREAM_QUIC) - && c->qs == NULL + && c->quic == NULL #endif && cscf->tcp_nodelay && ngx_tcp_nodelay(c) != NGX_OK) diff --git a/src/stream/ngx_stream_handler.c b/src/stream/ngx_stream_handler.c index 33f7bc191..c5b2e54a2 100644 --- a/src/stream/ngx_stream_handler.c +++ b/src/stream/ngx_stream_handler.c @@ -120,7 +120,7 @@ ngx_stream_init_connection(ngx_connection_t *c) if (addr_conf->quic) { ngx_quic_conf_t *qcf; - if (c->qs == NULL) { + if (c->quic == NULL) { c->log->connection = c->number; qcf = ngx_stream_get_module_srv_conf(addr_conf->ctx, diff --git a/src/stream/ngx_stream_quic_module.c b/src/stream/ngx_stream_quic_module.c index edf5ac704..49b1a6f85 100644 --- a/src/stream/ngx_stream_quic_module.c +++ b/src/stream/ngx_stream_quic_module.c @@ -170,7 +170,7 @@ static ngx_int_t ngx_stream_variable_quic(ngx_stream_session_t *s, ngx_stream_variable_value_t *v, uintptr_t data) { - if (s->connection->qs) { + if (s->connection->quic) { v->len = 4; v->valid = 1; |
