Commit dd5cbcb5 authored by guoweis's avatar guoweis Committed by Commit bot

Use nonblocking IO mode as default for WebRTC

BUG=465453

Review URL: https://codereview.chromium.org/1128823008

Cr-Commit-Position: refs/heads/master@{#329967}
parent a774b922
......@@ -98,11 +98,7 @@ P2PSocketHostUdp::P2PSocketHostUdp(IPC::Sender* message_sender,
net::UDPServerSocket* socket = new net::UDPServerSocket(
GetContentClient()->browser()->GetNetLog(), net::NetLog::Source());
#if defined(OS_WIN)
// If configured for finch experiment, use nonblocking IO.
if (base::FieldTrialList::FindFullName("WebRTC-UDPSocketNonBlockingIO") ==
"Enabled") {
socket->UseNonBlockingIO();
}
socket->UseNonBlockingIO();
#endif
socket_.reset(socket);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment