Add linger sleep on connection close

This commit is contained in:
Vladimir Dubrovin 2026-04-28 14:55:37 +03:00
parent 57d687fcb8
commit fb70d06d3e

View File

@ -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