From aa0c03fa46977d02dae5001404a1a8dc9abf934c Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Tue, 22 Feb 2022 22:35:34 -0800 Subject: hsa: fix tps data offset on connection reuse Type: fix Signed-off-by: Florin Coras Change-Id: Ibe92497cc5446ac5c734f8fe5c63c0167204dd09 --- src/plugins/hs_apps/http_tps.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/hs_apps') diff --git a/src/plugins/hs_apps/http_tps.c b/src/plugins/hs_apps/http_tps.c index 089350eb506..31d766b4668 100644 --- a/src/plugins/hs_apps/http_tps.c +++ b/src/plugins/hs_apps/http_tps.c @@ -236,6 +236,7 @@ try_test_file (hts_session_t *hs, u8 *request) clib_warning ("Requested file size %U", format_memory_size, file_size); hs->data_len = file_size; + hs->data_offset = 0; hts_start_send_data (hs, HTTP_STATUS_OK); -- cgit 1.2.3-korg