mirror of
https://github.com/neoStudiosLCE/neoLegacy.git
synced 2026-06-09 02:22:54 +00:00
fix: increase max packet size to 4MB for cross-fork compatibility
Matches the packet size limit used by the plugin-api fork. Our 512KB limit caused "Connection lost" when their server sent large packets (e.g. chunk data) that exceeded our cap.
This commit is contained in:
parent
ca5dbe1c9c
commit
6728ecb141
|
|
@ -17,7 +17,7 @@
|
|||
#define WIN64_NET_MAX_CLIENTS 255
|
||||
#define WIN64_SMALLID_REJECT 0xFF
|
||||
#define WIN64_NET_RECV_BUFFER_SIZE 65536
|
||||
#define WIN64_NET_MAX_PACKET_SIZE (512 * 1024)
|
||||
#define WIN64_NET_MAX_PACKET_SIZE (4 * 1024 * 1024)
|
||||
#define WIN64_LAN_DISCOVERY_PORT 25566
|
||||
#define WIN64_LAN_BROADCAST_MAGIC 0x4D434C4E
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue