Index: remoting/host/gnubby_auth_handler_posix.cc |
diff --git a/remoting/host/gnubby_auth_handler_posix.cc b/remoting/host/gnubby_auth_handler_posix.cc |
index 33526a638d953a19b739836d609f80c12d5995c3..fd8aebb84f447ef4936dd56f151b621b3f5983bc 100644 |
--- a/remoting/host/gnubby_auth_handler_posix.cc |
+++ b/remoting/host/gnubby_auth_handler_posix.cc |
@@ -231,7 +231,9 @@ void GnubbyAuthHandlerPosix::OnReadComplete(int connection_id) { |
return; |
} |
ProcessGnubbyRequest(connection_id, request_data); |
- Close(iter); |
+ iter->second->StartReadingRequest( |
+ base::Bind(&GnubbyAuthHandlerPosix::OnReadComplete, |
+ base::Unretained(this), connection_id)); |
} |
void GnubbyAuthHandlerPosix::Close(const ActiveSockets::iterator& iter) { |