forked from Green-Sky/tomato
Squashed 'external/toxcore/c-toxcore/' changes from 75f3c33943..d4b06edc2a
d4b06edc2a feat: add ngc events cd34b60f0f feat: allow for larger incoming NGC packets 94cf9d1f36 fix: Fix memory leak in the error path of loading savedata. fc623a5281 tox_new() should return null when savedata loading fails 06d949a701 fix: always respond to version packets with toxcore version REVERT: 75f3c33943 adopt to #2415 changes REVERT: 38e4c82fe0 feat: add ngc events git-subtree-dir: external/toxcore/c-toxcore git-subtree-split: d4b06edc2a35bad51b0f0950d74f61c8c70630ab
This commit is contained in:
@ -28,6 +28,8 @@
|
||||
* For an explanation on why this value was chosen, see the following link: https://archive.ph/vsCOG
|
||||
*/
|
||||
#define MAX_GC_PACKET_CHUNK_SIZE 500
|
||||
/* Max size of an incoming packet chunk that is allowed */
|
||||
#define MAX_GC_PACKET_INCOMING_CHUNK_SIZE 1372
|
||||
|
||||
#define MAX_GC_MESSAGE_SIZE GROUP_MAX_MESSAGE_LENGTH
|
||||
#define MAX_GC_MESSAGE_RAW_SIZE (MAX_GC_MESSAGE_SIZE + GC_MESSAGE_PSEUDO_ID_SIZE)
|
||||
|
Reference in New Issue
Block a user