failing to send is now also a congestion event (hacky and only the first time we send data)

This commit is contained in:
2024-01-11 00:48:57 +01:00
parent f02b03da7c
commit 0df0760c06
3 changed files with 76 additions and 54 deletions

View File

@@ -57,6 +57,9 @@ struct FlowOnly : public CCAI {
virtual void onCongestion(void) {};
// internal logic, calls the onCongestion() event
void updateCongestion(void);
public: // api
FlowOnly(size_t maximum_segment_data_size) : CCAI(maximum_segment_data_size) {}