Template
1
0
mirror of https://github.com/bol-van/zapret2.git synced 2026-03-14 06:13:09 +00:00

winws2: optimize bulk buffer size

This commit is contained in:
bol-van
2026-01-31 17:13:37 +03:00
parent 7d9f5a4b83
commit b920964ab3

View File

@@ -660,7 +660,7 @@ exiterr:
#define WINDIVERT_BULK_MAX 128
// do not make it less than 65536 - loopback packets can be up to 64K
#define WINDIVERT_PACKET_BUF_SIZE 192000
#define WINDIVERT_PACKET_BUF_SIZE 3*196608 // 3*64K, 128*1500=192000
static int win_main()
{