We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0c09be commit 346725cCopy full SHA for 346725c
1 file changed
src/network/transportsender-impl.h
@@ -193,7 +193,7 @@ void TransportSender<MyState>::tick( void )
193
}
194
195
if ( diff.empty() ) {
196
- if ( (now >= next_ack_time) ) {
+ if ( (now >= next_ack_time) || ((now >= next_send_time) && oob()->has_output()) ) {
197
send_empty_ack();
198
mindelay_clock = uint64_t( -1 );
199
@@ -205,8 +205,6 @@ void TransportSender<MyState>::tick( void )
205
/* Send diffs or ack */
206
send_to_receiver( diff );
207
208
- } else if ( oob()->has_output() && ((now >= next_send_time) || (now >= next_ack_time)) ) {
209
- send_empty_ack();
210
211
212
0 commit comments