You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ma...@apache.org on 2019/02/14 07:20:47 UTC

[trafficserver] branch quic-latest updated: Fix typo

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


The following commit(s) were added to refs/heads/quic-latest by this push:
     new 682f1d8  Fix typo
682f1d8 is described below

commit 682f1d8f7d80714d803c60618dc9147d08520c06
Author: Masakazu Kitajo <ma...@apache.org>
AuthorDate: Thu Feb 14 16:20:06 2019 +0900

    Fix typo
---
 iocore/net/quic/QUICPathValidator.cc | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/iocore/net/quic/QUICPathValidator.cc b/iocore/net/quic/QUICPathValidator.cc
index b0207db..6f29c3c 100644
--- a/iocore/net/quic/QUICPathValidator.cc
+++ b/iocore/net/quic/QUICPathValidator.cc
@@ -127,8 +127,7 @@ QUICPathValidator::will_generate_frame(QUICEncryptionLevel level)
 }
 
 QUICFrame *
-QUICPathValidator::generate_frame(uint8_t *buf, QUICEncryptionLevel level, uint64_t connection_credit,
-                                  uint16_t maximum_quic_packet_size)
+QUICPathValidator::generate_frame(uint8_t *buf, QUICEncryptionLevel level, uint64_t connection_credit, uint16_t maximum_frame_size)
 {
   QUICFrame *frame = nullptr;
 
@@ -141,7 +140,7 @@ QUICPathValidator::generate_frame(uint8_t *buf, QUICEncryptionLevel level, uint6
 
   if (this->_has_outgoing_response) {
     frame = QUICFrameFactory::create_path_response_frame(buf, this->_incoming_challenge);
-    if (frame && frame->size() > maximum_quic_packet_size) {
+    if (frame && frame->size() > maximum_frame_size) {
       // Cancel generating frame
       frame = nullptr;
     } else {
@@ -150,7 +149,7 @@ QUICPathValidator::generate_frame(uint8_t *buf, QUICEncryptionLevel level, uint6
   } else if (this->_has_outgoing_challenge) {
     frame = QUICFrameFactory::create_path_challenge_frame(
       buf, this->_outgoing_challenge + (QUICPathChallengeFrame::DATA_LEN * (this->_has_outgoing_challenge - 1)));
-    if (frame && frame->size() > maximum_quic_packet_size) {
+    if (frame && frame->size() > maximum_frame_size) {
       // Cancel generating frame
       frame = nullptr;
     } else {