From e71fce25a4b080da4f5ddd31722636b34814eb3e Mon Sep 17 00:00:00 2001 From: Denis Pauk Date: Sat, 4 Jan 2025 22:56:51 +0200 Subject: [PATCH] protocol: extend MAX_MSGLEN to 32k ReRelease uses 19104 as first package size in demo --- src/common/header/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/header/common.h b/src/common/header/common.h index a70a6346..6435afb6 100644 --- a/src/common/header/common.h +++ b/src/common/header/common.h @@ -537,7 +537,7 @@ extern qboolean userinfo_modified; /* NET */ #define PORT_ANY -1 -#define MAX_MSGLEN 1400 /* max length of a message */ +#define MAX_MSGLEN 32768 /* max length of a message */ #define PACKET_HEADER 10 /* two ints and a short */ typedef enum