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; |
} |