comparison src/http/v2/ngx_http_v2.h @ 8555:d4a6c03cfcb6 quic

HTTP/3: got rid of HTTP/2 module dependency. The Huffman encoder/decoder now can be built separately from HTTP/2 module.
author Vladimir Homutov <vl@nginx.com>
date Thu, 05 Aug 2021 11:09:13 +0300
parents c5840ca2063d
children 61d0fa67b55e
comparison
equal deleted inserted replaced
8554:4f922f611135 8555:d4a6c03cfcb6
310 ngx_int_t ngx_http_v2_add_header(ngx_http_v2_connection_t *h2c, 310 ngx_int_t ngx_http_v2_add_header(ngx_http_v2_connection_t *h2c,
311 ngx_http_v2_header_t *header); 311 ngx_http_v2_header_t *header);
312 ngx_int_t ngx_http_v2_table_size(ngx_http_v2_connection_t *h2c, size_t size); 312 ngx_int_t ngx_http_v2_table_size(ngx_http_v2_connection_t *h2c, size_t size);
313 313
314 314
315 ngx_int_t ngx_http_v2_huff_decode(u_char *state, u_char *src, size_t len,
316 u_char **dst, ngx_uint_t last, ngx_log_t *log);
317 size_t ngx_http_v2_huff_encode(u_char *src, size_t len, u_char *dst,
318 ngx_uint_t lower);
319
320
321 #define ngx_http_v2_prefix(bits) ((1 << (bits)) - 1) 315 #define ngx_http_v2_prefix(bits) ((1 << (bits)) - 1)
322 316
323 317
324 #if (NGX_HAVE_NONALIGNED) 318 #if (NGX_HAVE_NONALIGNED)
325 319