mirror of
https://github.com/rehlds/rehlds.git
synced 2024-12-29 08:05: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
|
||||
#define MAX_FRAGMENTS 25000
|
||||
#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
|
||||
|
||||
#define UDP_HEADER_SIZE 28
|
||||
|
Loading…
Reference in New Issue
Block a user