minor tweaks and fixes

especially preventing a stall on some packetloss scenarios
This commit is contained in:
2024-10-31 11:39:16 +01:00
parent ee593536a2
commit 2a0350a564
4 changed files with 19 additions and 13 deletions

View File

@@ -65,7 +65,8 @@ float FlowOnly::getWindow(void) const {
int64_t FlowOnly::canSend(float time_delta) {
if (_in_flight.empty()) {
assert(_in_flight_bytes == 0);
return MAXIMUM_SEGMENT_DATA_SIZE;
// TODO: should we really exit early here??
return 2*MAXIMUM_SEGMENT_DATA_SIZE;
}
updateWindow();