From 0f7e68383a797309c382710567c76a469c8d0904 Mon Sep 17 00:00:00 2001 From: Anton Date: Mon, 4 Mar 2019 20:04:21 +0400 Subject: increase file fragment size for better throughput --- PICA_client.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PICA_client.h b/PICA_client.h index bf5073d..8b323aa 100644 --- a/PICA_client.h +++ b/PICA_client.h @@ -115,7 +115,7 @@ typedef unsigned __int64 uint64_t; #define PICA_CHANWRITEBUFSIZE 4096 #define PICA_CONNREADBUFSIZE 65536 #define PICA_CONNWRITEBUFSIZE 4096 -#define PICA_FILEFRAGMENTSIZE 16384 //max size of TLS record +#define PICA_FILEFRAGMENTSIZE 3 * 16384 //max size of TLS record #define PICA_CHANSENDFILESTATE_IDLE 0 #define PICA_CHANSENDFILESTATE_SENTREQ 20 -- cgit v1.2.1