Skip to content

Commit

Permalink
Warn on congestion
Browse files Browse the repository at this point in the history
  • Loading branch information
keithw committed Oct 5, 2012
1 parent 9cf411a commit 9eb9a03
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/network/network.cc
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,9 @@ string Connection::recv( void )
/* signal counterparty to slow down */
/* this will gradually slow the counterparty down to the minimum frame rate */
saved_timestamp -= CONGESTION_TIMESTAMP_PENALTY;
if ( server ) {
fprintf( stderr, "Received explicit congestion notification.\n" );
}
}
}

Expand Down

0 comments on commit 9eb9a03

Please sign in to comment.