Skip to content

Commit

Permalink
converting headers to lowercase for h2
Browse files Browse the repository at this point in the history
  • Loading branch information
avbelov23 committed Sep 23, 2020
1 parent 1a6330a commit 0ff9a4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tempesta_fw/http_msg.c
Original file line number Diff line number Diff line change
Expand Up @@ -1418,7 +1418,7 @@ tfw_h2_msg_rewrite_data(TfwHttpTransIter *mit, const TfwStr *str,
return -E2BIG;
}

memcpy_fast(mit->curr_ptr, c->data + c_off, n_copy);
tfw_cstrtolower(mit->curr_ptr, c->data + c_off, n_copy);

T_DBG3("%s: acc_len=%lu, n_copy=%u, mit->curr_ptr='%.*s',"
" ptr_diff=%ld\n", __func__, mit->acc_len, n_copy,
Expand Down

0 comments on commit 0ff9a4b

Please sign in to comment.