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

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

Issue 935333002: Update from https://crrev.com/316786 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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/tools/quic/quic_dispatcher_test.cc ('k') | net/tools/quic/quic_time_wait_list_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_server.cc
diff --git a/net/tools/quic/quic_server.cc b/net/tools/quic/quic_server.cc
index 7635b535ae049bbb9384dcd4f809118d59c1a9c4..341daf8a394d23836fa0bc0e02a8dd26034f8b5a 100644
--- a/net/tools/quic/quic_server.cc
+++ b/net/tools/quic/quic_server.cc
@@ -12,7 +12,6 @@
#include <sys/socket.h>
#include "net/base/ip_endpoint.h"
-#include "net/quic/congestion_control/tcp_receiver.h"
#include "net/quic/crypto/crypto_handshake.h"
#include "net/quic/crypto/quic_random.h"
#include "net/quic/quic_clock.h"
@@ -130,12 +129,11 @@ bool QuicServer::Listen(const IPEndPoint& address) {
// because the default usage of QuicServer is as a test server with one or
// two clients. Adjust higher for use with many clients.
if (!QuicSocketUtils::SetReceiveBufferSize(fd_,
- TcpReceiver::kReceiveWindowTCP)) {
+ kDefaultSocketReceiveBuffer)) {
return false;
}
- if (!QuicSocketUtils::SetSendBufferSize(fd_,
- TcpReceiver::kReceiveWindowTCP)) {
+ if (!QuicSocketUtils::SetSendBufferSize(fd_, kDefaultSocketReceiveBuffer)) {
return false;
}
« no previous file with comments | « net/tools/quic/quic_dispatcher_test.cc ('k') | net/tools/quic/quic_time_wait_list_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698