Enable round-trip verifier in verbose mode
This commit is contained in:
@@ -152,15 +152,14 @@ void TransportSender<MyState>::tick( void )
|
||||
|
||||
attempt_prospective_resend_optimization( diff );
|
||||
|
||||
if ( verbose ) {
|
||||
/* verify diff has round-trip identity (modulo Unicode fallback rendering) */
|
||||
/*
|
||||
MyState newstate( assumed_receiver_state->state );
|
||||
newstate.apply_string( diff );
|
||||
if ( current_state.compare( newstate ) ) {
|
||||
fprintf( stderr, "Diff: %s\n", diff.c_str() );
|
||||
}
|
||||
*/
|
||||
|
||||
}
|
||||
|
||||
if ( diff.empty() && (now >= next_ack_time) ) {
|
||||
send_empty_ack();
|
||||
|
||||
Reference in New Issue
Block a user