Measure actual echo timeout instead of network timeout to first hop

This commit is contained in:
Keith Winstein
2011-10-13 05:14:19 -04:00
parent 1f23219047
commit 460d4303c2
4 changed files with 50 additions and 14 deletions
+1 -2
View File
@@ -164,8 +164,7 @@ bool STMClient::process_user_input( int fd )
for ( int i = 0; i < bytes_read; i++ ) {
char the_byte = buf[ i ];
overlays.get_prediction_engine().new_user_byte( the_byte, *local_framebuffer,
network->timeout() );
overlays.get_prediction_engine().new_user_byte( the_byte, *local_framebuffer );
if ( quit_sequence_started ) {
if ( the_byte == '.' ) { /* Quit sequence is Ctrl-^ . */