mirror of
https://github.com/hufrea/byedpi.git
synced 2025-02-17 00:40:02 +03:00
Waiting limit
This commit is contained in:
parent
ceef4841a5
commit
a8440ecba2
1 changed files with 1 additions and 1 deletions
2
desync.c
2
desync.c
|
@ -85,7 +85,7 @@ static inline void delay(long ms)
|
|||
#ifdef __linux__
|
||||
void wait_send(int sfd)
|
||||
{
|
||||
for (int i = 0; params.wait_send; i++) {
|
||||
for (int i = 0; params.wait_send && i < 500; i++) {
|
||||
struct tcpi tcpi = {};
|
||||
socklen_t ts = sizeof(tcpi);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue