Warn on congestion

This commit is contained in:
Keith Winstein
2012-10-04 21:47:58 -04:00
parent 9cf411ac3f
commit 9eb9a0386e
+3
View File
@@ -408,6 +408,9 @@ string Connection::recv( void )
/* signal counterparty to slow down */ /* signal counterparty to slow down */
/* this will gradually slow the counterparty down to the minimum frame rate */ /* this will gradually slow the counterparty down to the minimum frame rate */
saved_timestamp -= CONGESTION_TIMESTAMP_PENALTY; saved_timestamp -= CONGESTION_TIMESTAMP_PENALTY;
if ( server ) {
fprintf( stderr, "Received explicit congestion notification.\n" );
}
} }
} }