summaryrefslogtreecommitdiffstats
path: root/libtransport
diff options
context:
space:
mode:
authormichele papalini <micpapal@cisco.com>2019-12-02 19:15:19 +0100
committermichele papalini <micpapal@cisco.com>2019-12-02 19:15:19 +0100
commitfb964af25d28846511688a9ee8d0efd9a8885d81 (patch)
tree635b0dc53b976c2b5fa607b1ad13ce1dc6c14e74 /libtransport
parentb76d14df5b02b89fa4b96a6d8b91dbb7ea2f6c5a (diff)
[HICN-425] RTC min window
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: Ic75e11dcf43b7ed947a8f577d9aa5d345d5662ee
Diffstat (limited to 'libtransport')
-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() {