Mercurial > hg > nginx-quic
comparison src/http/v3/ngx_http_v3_tables.c @ 7692:268f4389130d quic
Refactored HTTP/3 parser.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Wed, 18 Mar 2020 13:46:35 +0300 |
parents | 38c0898b6df7 |
children | f11b7981a03d |
comparison
equal
deleted
inserted
replaced
7691:714a19dba6af | 7692:268f4389130d |
---|---|
381 | 381 |
382 /* XXX report all waiting streams of a new header */ | 382 /* XXX report all waiting streams of a new header */ |
383 | 383 |
384 return NGX_OK; | 384 return NGX_OK; |
385 } | 385 } |
386 | |
387 | |
388 ngx_int_t | |
389 ngx_http_v3_set_param(ngx_connection_t *c, uint64_t id, uint64_t value) | |
390 { | |
391 switch (id) { | |
392 | |
393 case NGX_HTTP_V3_PARAM_MAX_TABLE_CAPACITY: | |
394 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, c->log, 0, | |
395 "http3 param QPACK_MAX_TABLE_CAPACITY:%uL", value); | |
396 break; | |
397 | |
398 case NGX_HTTP_V3_PARAM_MAX_HEADER_LIST_SIZE: | |
399 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, c->log, 0, | |
400 "http3 param SETTINGS_MAX_HEADER_LIST_SIZE:%uL", value); | |
401 break; | |
402 | |
403 case NGX_HTTP_V3_PARAM_BLOCKED_STREAMS: | |
404 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, c->log, 0, | |
405 "http3 param QPACK_BLOCKED_STREAMS:%uL", value); | |
406 break; | |
407 | |
408 default: | |
409 | |
410 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, c->log, 0, | |
411 "http3 param #%uL:%uL", id, value); | |
412 } | |
413 | |
414 return NGX_OK; | |
415 } |