diff options
| author | Ruslan Ermilov <ru@nginx.com> | 2021-12-21 07:54:16 +0300 |
|---|---|---|
| committer | Ruslan Ermilov <ru@nginx.com> | 2021-12-21 07:54:16 +0300 |
| commit | 363505e806feebb7ceb1f9edb0e3f75c1253384f (patch) | |
| tree | 96b09e11f52821d4e54fb33543abb0af443f042e /src/http/ngx_http.h | |
| parent | b5d022e79756daf0ca2a5221a9e1dddb910d13da (diff) | |
| download | nginx-363505e806feebb7ceb1f9edb0e3f75c1253384f.tar.gz nginx-363505e806feebb7ceb1f9edb0e3f75c1253384f.tar.bz2 | |
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.
Diffstat (limited to 'src/http/ngx_http.h')
| -rw-r--r-- | src/http/ngx_http.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/http/ngx_http.h b/src/http/ngx_http.h index 8b43857ee..be8b7cd71 100644 --- a/src/http/ngx_http.h +++ b/src/http/ngx_http.h @@ -167,6 +167,14 @@ ngx_uint_t ngx_http_degraded(ngx_http_request_t *); #endif +#if (NGX_HTTP_V2) +ngx_int_t ngx_http_huff_decode(u_char *state, u_char *src, size_t len, + u_char **dst, ngx_uint_t last, ngx_log_t *log); +size_t ngx_http_huff_encode(u_char *src, size_t len, u_char *dst, + ngx_uint_t lower); +#endif + + extern ngx_module_t ngx_http_module; extern ngx_str_t ngx_http_html_default_types[]; |
