Retry successful writes immediately

dynamic-accesslists
Dirk Engling 3 years ago
parent 95f1780f0b
commit 2f228c27c2

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

Loading…
Cancel
Save