Remove usage of exceptional fdsets with select().

This commit is contained in:
John Hood
2015-12-28 06:07:28 -05:00
parent 19f214e46d
commit ca21788c96
6 changed files with 3 additions and 49 deletions
-10
View File
@@ -765,16 +765,6 @@ static void serve( int host_fd, Terminal::Complete &terminal, ServerConnection &
}
}
if ( sel.error( network_fd ) ) {
/* network problem */
break;
}
if ( (!network.shutdown_in_progress()) && sel.error( host_fd ) ) {
/* host problem */
network.start_shutdown();
}
/* quit if our shutdown has been acknowledged */
if ( network.shutdown_in_progress() && network.shutdown_acknowledged() ) {
break;