1
0
mirror of git://erdgeist.org/opentracker synced 2025-01-26 22:56:26 +00:00

Retry successful writes immediately

This commit is contained in:
Dirk Engling 2021-04-25 13:30:24 +02:00
parent 95f1780f0b
commit 2f228c27c2

View File

@ -218,6 +218,9 @@ static void handle_write( const int64 sock ) {
if( res == -3 )
break;
if( !cookie->batch[i].bytesleft )
continue;
if( res == -1 || res > 0 || i < cookie->batches - 1 )
return;
}