diff --git a/tempesta_fw/cache.c b/tempesta_fw/cache.c index 22dee3f867..e097bd461e 100644 --- a/tempesta_fw/cache.c +++ b/tempesta_fw/cache.c @@ -1167,7 +1167,6 @@ tfw_cache_h2_copy_hdr(TfwCacheEntry *ce, char **p, TdbVRec **trec, TfwStr *hdr, TFW_STR_INIT(&s_val); tfw_http_hdr_split(dup, &s_nm, &s_val, true); st_index = dup->hpack_idx; - CSTR_MOVE_HDR(); } if (st_index) { @@ -1649,7 +1648,6 @@ __cache_entry_size(TfwHttpResp *resp) TFW_STR_FOR_EACH_DUP(d, hdr, d_end) { TfwStr s_nm = {}, s_val = {}; - size += sizeof(TfwCStr); tfw_http_hdr_split(d, &s_nm, &s_val, true); size += tfw_h2_hdr_size(s_nm.len, s_val.len, d->hpack_idx);