From cba51ac63df7ce91a5533648ecc57289ced49a0e Mon Sep 17 00:00:00 2001 From: Atlante45 Date: Fri, 31 Jul 2015 16:53:43 -0700 Subject: [PATCH] Fix congestion control --- libraries/networking/src/udt/Connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/networking/src/udt/Connection.cpp b/libraries/networking/src/udt/Connection.cpp index a2a8942508..93f61c11aa 100644 --- a/libraries/networking/src/udt/Connection.cpp +++ b/libraries/networking/src/udt/Connection.cpp @@ -33,7 +33,7 @@ Connection::Connection(Socket* parentSocket, HifiSockAddr destination, unique_pt Q_ASSERT_X(socket, "Connection::Connection", "Must be called with a valid Socket*"); Q_ASSERT_X(_congestionControl, "Connection::Connection", "Must be called with a valid CongestionControl object"); - congestionControl->init(); + _congestionControl->init(); // setup default SYN, RTT and RTT Variance based on the SYN interval in CongestionControl object _synInterval = _congestionControl->synInterval();