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 );
|
attempt_prospective_resend_optimization( diff );
|
||||||
|
|
||||||
/* verify diff has round-trip identity (modulo Unicode fallback rendering) */
|
if ( verbose ) {
|
||||||
/*
|
/* verify diff has round-trip identity (modulo Unicode fallback rendering) */
|
||||||
MyState newstate( assumed_receiver_state->state );
|
MyState newstate( assumed_receiver_state->state );
|
||||||
newstate.apply_string( diff );
|
newstate.apply_string( diff );
|
||||||
if ( current_state.compare( newstate ) ) {
|
if ( current_state.compare( newstate ) ) {
|
||||||
fprintf( stderr, "Diff: %s\n", diff.c_str() );
|
fprintf( stderr, "Diff: %s\n", diff.c_str() );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
if ( diff.empty() && (now >= next_ack_time) ) {
|
if ( diff.empty() && (now >= next_ack_time) ) {
|
||||||
send_empty_ack();
|
send_empty_ack();
|
||||||
|
|||||||
Reference in New Issue
Block a user