More generous receive buffer. Max RPC size is stored in two bytes. Double so that we have overhead for the header itself and another RPC.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4101 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
Cory McWilliams 2023-01-02 00:58:15 +00:00
parent 235fc9b8f9
commit 67fbbd4a8d

View File

@ -218,7 +218,7 @@ typedef struct _tf_ssb_connection_t
uint8_t s_to_c_box_key[crypto_hash_sha256_BYTES]; uint8_t s_to_c_box_key[crypto_hash_sha256_BYTES];
uint8_t c_to_s_box_key[crypto_hash_sha256_BYTES]; uint8_t c_to_s_box_key[crypto_hash_sha256_BYTES];
uint8_t recv_buffer[32 * 1024]; uint8_t recv_buffer[128 * 1024];
size_t recv_size; size_t recv_size;
uint8_t nonce[crypto_secretbox_NONCEBYTES]; uint8_t nonce[crypto_secretbox_NONCEBYTES];