From a10746a448307a3cb1dc77df4f4256c8b97919f1 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Mon, 3 Aug 2015 19:12:37 -0700 Subject: [PATCH] set the max window size, correct a typo --- libraries/networking/src/udt/Connection.cpp | 3 ++- tools/udt-test/src/UDTTest.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libraries/networking/src/udt/Connection.cpp b/libraries/networking/src/udt/Connection.cpp index 2219de6fd6..1fce27ee5a 100644 --- a/libraries/networking/src/udt/Connection.cpp +++ b/libraries/networking/src/udt/Connection.cpp @@ -41,8 +41,9 @@ Connection::Connection(Socket* parentSocket, HifiSockAddr destination, unique_pt _rtt = _synInterval * 10; _rttVariance = _rtt / 2; - // set the initial RTT on congestion control object + // set the initial RTT and flow window size on congestion control object _congestionControl->setRTT(_rtt); + _congestionControl->setMaxCongestionWindowSize(_flowWindowSize); } Connection::~Connection() { diff --git a/tools/udt-test/src/UDTTest.cpp b/tools/udt-test/src/UDTTest.cpp index 8cc141c83f..d13c82e8f1 100644 --- a/tools/udt-test/src/UDTTest.cpp +++ b/tools/udt-test/src/UDTTest.cpp @@ -48,7 +48,7 @@ const QStringList CLIENT_STATS_TABLE_HEADERS { }; const QStringList SERVER_STATS_TABLE_HEADERS { - "Recieve Rate (P/s)", "Total Bytes", "Util Bytes", "Ratio (%)", + "Receive Rate (P/s)", "Total Bytes", "Util Bytes", "Ratio (%)", "Sent ACK", "Sent LACK", "Sent NAK", "Sent TNAK", "Recieved ACK2", "Duplicate Packets" };