comparison src/http/ngx_http.h @ 7977:336084ff943b

Moved Huffman coding out of HTTP/2. ngx_http_v2_huff_decode.c and ngx_http_v2_huff_encode.c are renamed to ngx_http_huff_decode.c and ngx_http_huff_encode.c.
author Ruslan Ermilov <ru@nginx.com>
date Tue, 21 Dec 2021 07:54:16 +0300
parents be2af41d3620
children ef6a3a99a81a 5c86189a1c1b
comparison
equal deleted inserted replaced
7976:76aea0ad78e5 7977:336084ff943b
165 #if (NGX_HTTP_DEGRADATION) 165 #if (NGX_HTTP_DEGRADATION)
166 ngx_uint_t ngx_http_degraded(ngx_http_request_t *); 166 ngx_uint_t ngx_http_degraded(ngx_http_request_t *);
167 #endif 167 #endif
168 168
169 169
170 #if (NGX_HTTP_V2)
171 ngx_int_t ngx_http_huff_decode(u_char *state, u_char *src, size_t len,
172 u_char **dst, ngx_uint_t last, ngx_log_t *log);
173 size_t ngx_http_huff_encode(u_char *src, size_t len, u_char *dst,
174 ngx_uint_t lower);
175 #endif
176
177
170 extern ngx_module_t ngx_http_module; 178 extern ngx_module_t ngx_http_module;
171 179
172 extern ngx_str_t ngx_http_html_default_types[]; 180 extern ngx_str_t ngx_http_html_default_types[];
173 181
174 182