• rtenneti's avatar
    Change the wire format of the ack frame to include a compressed version · 4b06ae7c
    rtenneti authored
    of the previous CongestionFeedback Timestamp frame.
    Adds QUIC_VERSION_23. Deprecate CongestionFeedbackFrame
    
    1 bytes - num_received_packets
    First packet:
    1 byte - distance from the largest observed in sequence number space.
    4 bytes - mod of microseconds since the connection's creation when the
      packet arrived.  (1.1hrs in us)
    Every other packet:
    1 byte - distance from the largest observed in sequence number space.
    2 bytes - mod of microseconds since the previous timestamp
    
    Merge internal change: 73740829
    
    The following are chromium specific changes:
    + Changed ACK frame not to send CongestionFeedback frame
    + Added received_packet_times to ACK frame.
    + The timestamp that is sent is relative to creation time, thus passed
      MockClock's now() as argument to AckFrame and it is used to pass
      QuicFramer's creation time and received_packet_times.
    
    R=cyr@google.com, ianswett@google.com, rch@chromium.org
    
    Review URL: https://codereview.chromium.org/478153003
    
    Cr-Commit-Position: refs/heads/master@{#291830}
    4b06ae7c
quic_test_packet_maker.h 3.2 KB