This is an automated email from the ASF dual-hosted git repository. maskit pushed a commit to branch quic-latest in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit 75dc251e0bff94b44eb131221c35d85b171c0125 Author: Masakazu Kitajo <[email protected]> AuthorDate: Thu Jun 21 14:56:20 2018 +0900 clang-format --- iocore/net/quic/QUICCongestionController.cc | 7 ++++--- iocore/net/quic/QUICLossDetector.cc | 6 ++++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/iocore/net/quic/QUICCongestionController.cc b/iocore/net/quic/QUICCongestionController.cc index cd01979..0d03be2 100644 --- a/iocore/net/quic/QUICCongestionController.cc +++ b/iocore/net/quic/QUICCongestionController.cc @@ -138,8 +138,9 @@ QUICCongestionController::current_ssthresh() const void QUICCongestionController::reset() { - this->_bytes_in_flight = 0; - this->_congestion_window = this->_k_initial_window;; + this->_bytes_in_flight = 0; + this->_congestion_window = this->_k_initial_window; + ; this->_end_of_recovery = 0; - this->_ssthresh = UINT32_MAX; + this->_ssthresh = UINT32_MAX; } diff --git a/iocore/net/quic/QUICLossDetector.cc b/iocore/net/quic/QUICLossDetector.cc index bc16613..42269aa 100644 --- a/iocore/net/quic/QUICLossDetector.cc +++ b/iocore/net/quic/QUICLossDetector.cc @@ -388,7 +388,8 @@ QUICLossDetector::_on_loss_detection_alarm() if (is_debug_tag_set("v_quic_loss_detector")) { for (auto &unacked : this->_sent_packets) { - QUICLDVDebug("#%" PRIu64 " is_handshake=%i is_ack_only=%i size=%zu", unacked.first, unacked.second->handshake, unacked.second->ack_only, unacked.second->bytes); + QUICLDVDebug("#%" PRIu64 " is_handshake=%i is_ack_only=%i size=%zu", unacked.first, unacked.second->handshake, + unacked.second->ack_only, unacked.second->bytes); } } @@ -424,7 +425,8 @@ QUICLossDetector::_detect_lost_packets(QUICPacketNumber largest_acked_packet_num unacked.first, time_since_sent, delay_until_lost, this->_time_reordering_fraction, this->_latest_rtt, this->_smoothed_rtt); } else { - QUICLDDebug("Lost: packet delta is too large (PN=%" PRId64 " largest=%" PRId64 " unacked=%" PRId64 " threshold=%" PRId32 ")", + QUICLDDebug("Lost: packet delta is too large (PN=%" PRId64 " largest=%" PRId64 " unacked=%" PRId64 " threshold=%" PRId32 + ")", unacked.first, largest_acked_packet_number, unacked.second->packet_number, this->_reordering_threshold); }
