aboutsummaryrefslogtreecommitdiff
path: root/src/http/v3/ngx_http_v3_tables.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/v3/ngx_http_v3_tables.c')
-rw-r--r--src/http/v3/ngx_http_v3_tables.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/http/v3/ngx_http_v3_tables.c b/src/http/v3/ngx_http_v3_tables.c
index bf4f1449c..5389d0e2f 100644
--- a/src/http/v3/ngx_http_v3_tables.c
+++ b/src/http/v3/ngx_http_v3_tables.c
@@ -198,7 +198,7 @@ ngx_http_v3_insert(ngx_connection_t *c, ngx_str_t *name, ngx_str_t *value)
return NGX_HTTP_V3_ERR_ENCODER_STREAM_ERROR;
}
- h3c = c->qs->parent->data;
+ h3c = c->quic->parent->data;
dt = &h3c->table;
ngx_log_debug4(NGX_LOG_DEBUG_HTTP, c->log, 0,
@@ -250,7 +250,7 @@ ngx_http_v3_set_capacity(ngx_connection_t *c, ngx_uint_t capacity)
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, c->log, 0,
"http3 set capacity %ui", capacity);
- pc = c->qs->parent;
+ pc = c->quic->parent;
h3c = pc->data;
h3scf = ngx_http_get_module_srv_conf(h3c->hc.conf_ctx, ngx_http_v3_module);
@@ -324,7 +324,7 @@ ngx_http_v3_evict(ngx_connection_t *c, size_t need)
ngx_http_v3_connection_t *h3c;
ngx_http_v3_dynamic_table_t *dt;
- h3c = c->qs->parent->data;
+ h3c = c->quic->parent->data;
dt = &h3c->table;
if (need > dt->capacity) {
@@ -367,7 +367,7 @@ ngx_http_v3_duplicate(ngx_connection_t *c, ngx_uint_t index)
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, c->log, 0, "http3 duplicate %ui", index);
- h3c = c->qs->parent->data;
+ h3c = c->quic->parent->data;
dt = &h3c->table;
if (dt->base + dt->nelts <= index) {
@@ -463,7 +463,7 @@ ngx_http_v3_lookup(ngx_connection_t *c, ngx_uint_t index, ngx_str_t *name,
ngx_http_v3_connection_t *h3c;
ngx_http_v3_dynamic_table_t *dt;
- h3c = c->qs->parent->data;
+ h3c = c->quic->parent->data;
dt = &h3c->table;
if (index < dt->base || index - dt->base >= dt->nelts) {
@@ -506,7 +506,7 @@ ngx_http_v3_decode_insert_count(ngx_connection_t *c, ngx_uint_t *insert_count)
return NGX_OK;
}
- h3c = c->qs->parent->data;
+ h3c = c->quic->parent->data;
dt = &h3c->table;
h3scf = ngx_http_get_module_srv_conf(h3c->hc.conf_ctx, ngx_http_v3_module);
@@ -555,7 +555,7 @@ ngx_http_v3_check_insert_count(ngx_connection_t *c, ngx_uint_t insert_count)
ngx_http_v3_connection_t *h3c;
ngx_http_v3_dynamic_table_t *dt;
- pc = c->qs->parent;
+ pc = c->quic->parent;
h3c = pc->data;
dt = &h3c->table;
@@ -636,7 +636,7 @@ ngx_http_v3_new_header(ngx_connection_t *c)
ngx_http_v3_block_t *block;
ngx_http_v3_connection_t *h3c;
- h3c = c->qs->parent->data;
+ h3c = c->quic->parent->data;
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, c->log, 0,
"http3 new dynamic header, blocked:%ui", h3c->nblocked);