Mercurial > hg > nginx
comparison src/http/v3/ngx_http_v3_streams.c @ 8807:0ac25efb2da3 quic
HTTP/3: quic-qpack term updates.
Renamed header -> field per quic-qpack naming convention, in particular:
- Header Field -> Field Line
- Header Block -> (Encoded) Field Section
- Without Name Reference -> With Literal Name
- Header Acknowledgement -> Section Acknowledgment
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 01 Jul 2021 15:37:53 +0300 |
parents | 1fec68e322d0 |
children | d80365ca678d |
comparison
equal
deleted
inserted
replaced
8806:f8ad3dd142ad | 8807:0ac25efb2da3 |
---|---|
601 return NGX_OK; | 601 return NGX_OK; |
602 } | 602 } |
603 | 603 |
604 | 604 |
605 ngx_int_t | 605 ngx_int_t |
606 ngx_http_v3_send_ack_header(ngx_connection_t *c, ngx_uint_t stream_id) | 606 ngx_http_v3_send_ack_section(ngx_connection_t *c, ngx_uint_t stream_id) |
607 { | 607 { |
608 u_char buf[NGX_HTTP_V3_PREFIX_INT_LEN]; | 608 u_char buf[NGX_HTTP_V3_PREFIX_INT_LEN]; |
609 size_t n; | 609 size_t n; |
610 ngx_connection_t *dc; | 610 ngx_connection_t *dc; |
611 | 611 |
612 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, c->log, 0, | 612 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, c->log, 0, |
613 "http3 client ack header %ui", stream_id); | 613 "http3 client ack section %ui", stream_id); |
614 | 614 |
615 dc = ngx_http_v3_get_uni_stream(c, NGX_HTTP_V3_STREAM_DECODER); | 615 dc = ngx_http_v3_get_uni_stream(c, NGX_HTTP_V3_STREAM_DECODER); |
616 if (dc == NULL) { | 616 if (dc == NULL) { |
617 return NGX_ERROR; | 617 return NGX_ERROR; |
618 } | 618 } |