mirror of
https://github.com/rehlds/rehlds.git
synced 2025-01-04 02:55:50 +03:00
Fixed MAX_FRAGMENTS count
This commit is contained in:
parent
cb74311375
commit
6a819c8683
@ -250,7 +250,7 @@ typedef struct flow_s
|
|||||||
#ifndef REHLDS_FIXES
|
#ifndef REHLDS_FIXES
|
||||||
#define MAX_FRAGMENTS 25000
|
#define MAX_FRAGMENTS 25000
|
||||||
#else
|
#else
|
||||||
#define MAX_FRAGMENTS ((NET_MAX_PAYLOAD + FRAGMENT_SIZE - 1) / FRAGMENT_SIZE) // should be enough for any send buf
|
#define MAX_FRAGMENTS (NET_MAX_PAYLOAD / FRAGMENT_SIZE) // should be enough for any send buf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define UDP_HEADER_SIZE 28
|
#define UDP_HEADER_SIZE 28
|
||||||
|
Loading…
Reference in New Issue
Block a user