hsa: fix tps data offset on connection reuse
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: Ibe92497cc5446ac5c734f8fe5c63c0167204dd09
This commit is contained in:

committed by
Dave Wallace

parent
447e51d4e4
commit
aa0c03fa46
@ -236,6 +236,7 @@ try_test_file (hts_session_t *hs, u8 *request)
|
|||||||
clib_warning ("Requested file size %U", format_memory_size, file_size);
|
clib_warning ("Requested file size %U", format_memory_size, file_size);
|
||||||
|
|
||||||
hs->data_len = file_size;
|
hs->data_len = file_size;
|
||||||
|
hs->data_offset = 0;
|
||||||
|
|
||||||
hts_start_send_data (hs, HTTP_STATUS_OK);
|
hts_start_send_data (hs, HTTP_STATUS_OK);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user