This is an automated email from the ASF dual-hosted git repository. masaori pushed a commit to branch quic-latest in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit f422468a9b4288c8264803f0327c096e06ca6994 Author: Masaori Koshiba <[email protected]> AuthorDate: Thu Aug 23 11:02:17 2018 +0900 Fix typo --- iocore/net/QUICNetVConnection.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iocore/net/QUICNetVConnection.cc b/iocore/net/QUICNetVConnection.cc index 8562d5c..3b9884c 100644 --- a/iocore/net/QUICNetVConnection.cc +++ b/iocore/net/QUICNetVConnection.cc @@ -63,7 +63,7 @@ static constexpr uint32_t MAX_STREAM_FRAME_OVERHEAD = 24; // static constexpr uint32_t MAX_CRYPTO_FRAME_OVERHEAD = 16; static constexpr uint32_t MINIMUM_INITIAL_PACKET_SIZE = 1200; static constexpr ink_hrtime WRITE_READY_INTERVAL = HRTIME_MSECONDS(20); -static constexpr uint32_t PACKET_PRE_EVENT = 32; +static constexpr uint32_t PACKET_PER_EVENT = 32; static constexpr uint32_t MAX_PACKETS_WITHOUT_SRC_ADDR_VARIDATION = 3; @@ -1083,7 +1083,7 @@ QUICNetVConnection::_state_common_send_packet() { uint32_t packet_count = 0; uint32_t error = 0; - while (error == 0 && packet_count < PACKET_PRE_EVENT) { + while (error == 0 && packet_count < PACKET_PER_EVENT) { uint32_t window = this->_congestion_controller->open_window(); if (window == 0) {
