diff options
| author | Anton <anton@picapica> | 2019-03-04 20:04:21 +0400 |
|---|---|---|
| committer | Anton <anton@picapica> | 2019-03-04 20:04:21 +0400 |
| commit | 0f7e68383a797309c382710567c76a469c8d0904 (patch) | |
| tree | 26910297922c80f17c0b2e69409cc1848c053118 | |
| parent | ead2d2019a69889598ca1938feb2f51436c4212b (diff) | |
| download | pica-pica-0f7e68383a797309c382710567c76a469c8d0904.tar.gz pica-pica-0f7e68383a797309c382710567c76a469c8d0904.zip | |
increase file fragment size for better throughput
| -rw-r--r-- | PICA_client.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
