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

Unified Diff: net/tools/quic/quic_client.cc

Issue 1039853003: Revert "Compile quic_server on MacOS" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | « net/BUILD.gn ('k') | net/tools/quic/quic_socket_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_client.cc
diff --git a/net/tools/quic/quic_client.cc b/net/tools/quic/quic_client.cc
index e99c62d075f25e5b30e22024c0d55f02d77f63fc..88920fd73fc21cf32cb46cac206973d669b2af4d 100644
--- a/net/tools/quic/quic_client.cc
+++ b/net/tools/quic/quic_client.cc
@@ -122,10 +122,10 @@ QuicPacketWriter* QuicClient::DummyPacketWriterFactory::Create(
bool QuicClient::CreateUDPSocket() {
int address_family = server_address_.GetSockAddrFamily();
- fd_ = QuicSocketUtils::CreateNonBlockingSocket(address_family, SOCK_DGRAM,
- IPPROTO_UDP);
+ fd_ = socket(address_family, SOCK_DGRAM | SOCK_NONBLOCK, IPPROTO_UDP);
if (fd_ < 0) {
- return false; // failure already logged
+ LOG(ERROR) << "CreateSocket() failed: " << strerror(errno);
+ return false;
}
int get_overflow = 1;
« no previous file with comments | « net/BUILD.gn ('k') | net/tools/quic/quic_socket_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698