File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ const uint16_t MAXIMUM_BUFFER_SIZE = 1500; /* 1500 Bytes */
112112const uint16_t PING_INTERVAL = 100 ; /* 100 ms */
113113const double CONNECTION_TIMEOUT = 10.0 ; /* 10 s */
114114const uint16_t MINIMUM_RETRANSMISSION_INTERVAL = 10 ; /* 10 ms */
115- const uint32_t MAXIMUM_CONGESTION_WINDOW_SIZE = 1 *1000 *1000 ; /* 10MB */
115+ const uint32_t MAXIMUM_CONGESTION_WINDOW_SIZE = 2 *1000 *1000 ; /* 10MB */
116116const uint32_t MINIMUM_CONGESTION_WINDOW_SIZE = 1000 *64 ; /* 10KB */
117117enum TRANSMISSION_MODE : uint8_t
118118{
Original file line number Diff line number Diff line change @@ -409,8 +409,7 @@ void TransmissionSession::ProcessSyncAck(const uint16_t sequence)
409409 m_Timer.PeriodicTask (
410410 0 ,
411411 [this ]() -> const bool {
412- while (PopDataPacket ())
413- ;
412+ PopDataPacket ();
414413 return m_IsConnected;
415414 },
416415 TransmissionSession::LOW_PRIORITY);
You can’t perform that action at this time.
0 commit comments