aboutsummaryrefslogtreecommitdiff
path: root/src/http/v2/ngx_http_v2.c
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2021-12-21 07:54:16 +0300
committerRuslan Ermilov <ru@nginx.com>2021-12-21 07:54:16 +0300
commit363505e806feebb7ceb1f9edb0e3f75c1253384f (patch)
tree96b09e11f52821d4e54fb33543abb0af443f042e /src/http/v2/ngx_http_v2.c
parentb5d022e79756daf0ca2a5221a9e1dddb910d13da (diff)
downloadnginx-363505e806feebb7ceb1f9edb0e3f75c1253384f.tar.gz
nginx-363505e806feebb7ceb1f9edb0e3f75c1253384f.zip
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/v2/ngx_http_v2.c')
-rw-r--r--src/http/v2/ngx_http_v2.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/http/v2/ngx_http_v2.c b/src/http/v2/ngx_http_v2.c
index 3afa8b638..0e45a7b27 100644
--- a/src/http/v2/ngx_http_v2.c
+++ b/src/http/v2/ngx_http_v2.c
@@ -1600,10 +1600,10 @@ ngx_http_v2_state_field_huff(ngx_http_v2_connection_t *h2c, u_char *pos,
h2c->state.length -= size;
h2c->state.field_rest -= size;
- if (ngx_http_v2_huff_decode(&h2c->state.field_state, pos, size,
- &h2c->state.field_end,
- h2c->state.field_rest == 0,
- h2c->connection->log)
+ if (ngx_http_huff_decode(&h2c->state.field_state, pos, size,
+ &h2c->state.field_end,
+ h2c->state.field_rest == 0,
+ h2c->connection->log)
!= NGX_OK)
{
ngx_log_error(NGX_LOG_INFO, h2c->connection->log, 0,