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

Unified Diff: webrtc/base/virtualsocketserver.cc

Issue 1914803002: Allow the localhost IP address even if it does not match the tcp port address (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Merge with head Created 4 years, 7 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 | « webrtc/base/virtualsocketserver.h ('k') | webrtc/p2p/base/tcpport.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/virtualsocketserver.cc
diff --git a/webrtc/base/virtualsocketserver.cc b/webrtc/base/virtualsocketserver.cc
index c6952b4b9960c2ba2ee75ba60392304b6a609c28..c76fe42f1ee5ba438cb72722217a08e4788a43f7 100644
--- a/webrtc/base/virtualsocketserver.cc
+++ b/webrtc/base/virtualsocketserver.cc
@@ -578,7 +578,9 @@ AsyncSocket* VirtualSocketServer::CreateAsyncSocket(int family, int type) {
}
VirtualSocket* VirtualSocketServer::CreateSocketInternal(int family, int type) {
- return new VirtualSocket(this, family, type, true);
+ VirtualSocket* socket = new VirtualSocket(this, family, type, true);
+ SignalSocketCreated(socket);
+ return socket;
}
void VirtualSocketServer::SetMessageQueue(MessageQueue* msg_queue) {
« no previous file with comments | « webrtc/base/virtualsocketserver.h ('k') | webrtc/p2p/base/tcpport.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698