Further improvements to smooth shutdown (and fix bug re: shutdown acceleration)

This commit is contained in:
Keith Winstein
2011-09-30 13:51:36 -04:00
parent 3bc3b6f6e1
commit 5aff42b0aa
3 changed files with 13 additions and 16 deletions
+1 -1
View File
@@ -256,7 +256,7 @@ void serve( int host_fd )
if ( (pollfds[ 1 ].revents)
& (POLLERR | POLLHUP | POLLNVAL) ) {
/* host problem */
if ( network.attached() && (!network.shutdown_in_progress()) ) {
if ( network.attached() ) {
network.start_shutdown();
} else {
break;