Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(926)

Unified Diff: remoting/host/gnubby_auth_handler_posix.cc

Issue 1234003002: Fix GnubbyAuthHandlerPosix to handle requests correctly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@allowIo
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | remoting/host/gnubby_auth_handler_posix_unittest.cc » ('j') | remoting/host/gnubby_socket.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « no previous file | remoting/host/gnubby_auth_handler_posix_unittest.cc » ('j') | remoting/host/gnubby_socket.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698