Fix congestion control

This commit is contained in:
Atlante45 2015-07-31 16:53:43 -07:00
parent 15ce9aabc5
commit cba51ac63d

View file

@ -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();