mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Add linger sleep on connection close
This commit is contained in:
1 parent
57d687fcb8
commit
fb70d06d3e
1 file changed
+3
@@ -727,6 +727,9 @@ log("timeout");
|
||||
else if(inclientpipe || inserverpipe) res = 94;
|
||||
#endif
|
||||
|
||||
if((param->nwrites > 0 && !SERVERTERM) || (param->nreads > 0 && !CLIENTTERM))
|
||||
usleep(SLEEPTIME * 10);
|
||||
|
||||
CLEANRET:
|
||||
|
||||
#ifdef WITHSPLICE
|
||||
|
||||
Reference in new issue
Block a user