Bug 928223 - 0001. Add function to perform setup for listen socket. r=qDot echou vicamo yoshi
This commit is contained in:
@@ -521,6 +521,14 @@ UnixSocketImpl::Accept()
|
||||
return;
|
||||
}
|
||||
|
||||
if (!mConnector->SetUpListenSocket(mFd)) {
|
||||
NS_WARNING("Could not set up listen socket!");
|
||||
nsRefPtr<OnSocketEventTask> t =
|
||||
new OnSocketEventTask(this, OnSocketEventTask::CONNECT_ERROR);
|
||||
NS_DispatchToMainThread(t);
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
SetUpIO();
|
||||
|
||||
Reference in New Issue
Block a user