summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/hs_apps/http_tps.c1
1 files changed, 1 insertions, 0 deletions
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);