aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlberto Compagno <acompagn+fdio@cisco.com>2019-12-02 18:28:10 +0000
committerGerrit Code Review <gerrit@fd.io>2019-12-02 18:28:10 +0000
commitac2224ae8845f414c1a7fa85aab4e7287fb1df84 (patch)
tree748229e92eb7917170495216b72d13c4dc157070
parent1c23af13954a151ec56ca3b0372f369db160b80a (diff)
parentfb964af25d28846511688a9ee8d0efd9a8885d81 (diff)
Merge "[HICN-425] RTC min window"
-rw-r--r--libtransport/src/hicn/transport/protocols/rtc.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/libtransport/src/hicn/transport/protocols/rtc.cc b/libtransport/src/hicn/transport/protocols/rtc.cc
index c9993ac1c..6fbf1b018 100644
--- a/libtransport/src/hicn/transport/protocols/rtc.cc
+++ b/libtransport/src/hicn/transport/protocols/rtc.cc
@@ -371,9 +371,6 @@ void RTCTransportProtocol::updateWindow() {
currentCWin_ =
max((uint32_t)(currentCWin_ * HICN_WIN_DECREASE_FACTOR), HICN_MIN_CWIN);
}
-
- if(currentCWin_ < HICN_MIN_CWIN)
- currentCWin_ = HICN_MIN_CWIN;
}
void RTCTransportProtocol::decreaseWindow() {