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

Unified Diff: net/quic/quic_server.cc

Issue 761903003: Update from https://crrev.com/306655 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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/quic/quic_sent_packet_manager.cc ('k') | net/quic/quic_session.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_server.cc
diff --git a/net/quic/quic_server.cc b/net/quic/quic_server.cc
index fecb4e51de2ad514c4dbe330948a6ccd979effa4..7b0f45400ec85a67c681577894892805556e01d1 100644
--- a/net/quic/quic_server.cc
+++ b/net/quic/quic_server.cc
@@ -74,7 +74,8 @@ int QuicServer::Listen(const IPEndPoint& address) {
// These send and receive buffer sizes are sized for a single connection,
// because the default usage of QuicServer is as a test server with one or
// two clients. Adjust higher for use with many clients.
- rc = socket->SetReceiveBufferSize(TcpReceiver::kReceiveWindowTCP);
+ rc = socket->SetReceiveBufferSize(
+ static_cast<int32>(TcpReceiver::kReceiveWindowTCP));
if (rc < 0) {
LOG(ERROR) << "SetReceiveBufferSize() failed: " << ErrorToString(rc);
return rc;
« no previous file with comments | « net/quic/quic_sent_packet_manager.cc ('k') | net/quic/quic_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698