From 6ab251b08eca8b5e246169638d250639394d2458 Mon Sep 17 00:00:00 2001 From: martinduke Date: Mon, 8 Oct 2018 15:13:20 -0700 Subject: [PATCH] Rename is_handshake_packets in quic-recovery Resolves part of #1836. --- draft-ietf-quic-recovery.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/draft-ietf-quic-recovery.md b/draft-ietf-quic-recovery.md index 39b6dd970a..1e3606fd6d 100644 --- a/draft-ietf-quic-recovery.md +++ b/draft-ietf-quic-recovery.md @@ -651,7 +651,7 @@ are as follows: * in_flight: A boolean that indicates whether the packet counts towards bytes in flight. -* is_handshake_packet: A boolean that indicates whether the packet contains +* is_crypto_packet: A boolean that indicates whether the packet contains cryptographic handshake messages critical to the completion of the QUIC handshake. In this version of QUIC, this includes any packet with the long header that includes a CRYPTO frame. @@ -663,14 +663,14 @@ Pseudocode for OnPacketSent follows: ~~~ OnPacketSent(packet_number, ack_only, in_flight, - is_handshake_packet, sent_bytes): + is_crypto_packet, sent_bytes): largest_sent_packet = packet_number sent_packets[packet_number].packet_number = packet_number sent_packets[packet_number].time = now sent_packets[packet_number].ack_only = ack_only sent_packets[packet_number].in_flight = in_flight if !ack_only: - if is_handshake_packet: + if is_crypto_packet: time_of_last_sent_handshake_packet = now time_of_last_sent_retransmittable_packet = now OnPacketSentCC(sent_bytes)