uquic/internal/wire
Marten Seemann 7c3d6abb4b fix parsing of the Header type byte
In order to determine if a packet is a Version Negotiation Packet, it is
not sufficient to just look at bit 0x1. Other packet types also have
that bit set, e.g. the Retry packet (packet type 0x3). Instead, we have
to look at the last 3 bits. This fix will work as long as IETF QUIC
doesn't define more than 8 long header types.
2017-11-13 10:23:17 +08:00
..
ack_frame.go shorten variable names in the AckRange struct 2017-09-22 19:34:53 +07:00
ack_frame_test.go drop support for QUIC 37 and 38 2017-11-07 00:23:53 +07:00
ack_range.go shorten variable names in the AckRange struct 2017-09-22 19:34:53 +07:00
blocked_frame.go implement the IETF draft BLOCKED and STREAM_BLOCKED frames 2017-11-04 15:22:14 +07:00
blocked_frame_legacy.go implement the IETF draft BLOCKED and STREAM_BLOCKED frames 2017-11-04 15:22:14 +07:00
blocked_frame_legacy_test.go drop support for QUIC 37 and 38 2017-11-07 00:23:53 +07:00
blocked_frame_test.go implement the IETF draft BLOCKED and STREAM_BLOCKED frames 2017-11-04 15:22:14 +07:00
connection_close_frame.go fix parsing of long reason phrases in CONNECTION_CLOSE frames 2017-10-23 17:23:13 +07:00
connection_close_frame_test.go drop support for QUIC 37 and 38 2017-11-07 00:23:53 +07:00
frame.go make the protocol package internal 2017-08-30 00:19:44 +07:00
goaway_frame.go make the protocol package internal 2017-08-30 00:19:44 +07:00
goaway_frame_test.go drop support for QUIC 37 and 38 2017-11-07 00:23:53 +07:00
header.go fix parsing of the Header type byte 2017-11-13 10:23:17 +08:00
header_test.go fix parsing of the Header type byte 2017-11-13 10:23:17 +08:00
ietf_header.go reject packets that use the wrong or unknown packet types 2017-11-02 20:47:02 +07:00
ietf_header_test.go reject packets that use the wrong or unknown packet types 2017-11-02 20:47:02 +07:00
log.go make wire an internal package 2017-08-29 23:51:56 +07:00
log_test.go make the protocol package internal 2017-08-30 00:19:44 +07:00
max_data_frame.go implement the MAX_DATA and MAX_STREAM_DATA frames 2017-11-04 15:22:14 +07:00
max_data_frame_test.go implement the MAX_DATA and MAX_STREAM_DATA frames 2017-11-04 15:22:14 +07:00
max_stream_data_frame.go implement the MAX_DATA and MAX_STREAM_DATA frames 2017-11-04 15:22:14 +07:00
max_stream_data_frame_test.go implement the MAX_DATA and MAX_STREAM_DATA frames 2017-11-04 15:22:14 +07:00
ping_frame.go make the protocol package internal 2017-08-30 00:19:44 +07:00
ping_frame_test.go make the protocol package internal 2017-08-30 00:19:44 +07:00
public_header.go parse the packet header before getting the session from the session map 2017-11-10 08:48:45 +07:00
public_header_test.go parse the packet header before getting the session from the session map 2017-11-10 08:48:45 +07:00
public_reset.go accept Public Resets without the RSEQ tag 2017-11-08 11:07:53 +07:00
public_reset_test.go accept Public Resets without the RSEQ tag 2017-11-08 11:07:53 +07:00
rst_stream_frame.go make the protocol package internal 2017-08-30 00:19:44 +07:00
rst_stream_frame_test.go drop support for QUIC 37 and 38 2017-11-07 00:23:53 +07:00
stop_waiting_frame.go make the protocol package internal 2017-08-30 00:19:44 +07:00
stop_waiting_frame_test.go drop support for QUIC 37 and 38 2017-11-07 00:23:53 +07:00
stream_blocked_frame.go implement the IETF draft BLOCKED and STREAM_BLOCKED frames 2017-11-04 15:22:14 +07:00
stream_blocked_frame_test.go implement the IETF draft BLOCKED and STREAM_BLOCKED frames 2017-11-04 15:22:14 +07:00
stream_frame.go fix data length check in STREAM frame parser 2017-10-18 13:54:28 +07:00
stream_frame_test.go drop support for QUIC 37 and 38 2017-11-07 00:23:53 +07:00
version_negotiation.go echo the offered version in IETF Version Negotiation Packets 2017-11-12 14:37:43 +08:00
version_negotiation_test.go echo the offered version in IETF Version Negotiation Packets 2017-11-12 14:37:43 +08:00
window_update_frame.go implement the MAX_DATA and MAX_STREAM_DATA frames 2017-11-04 15:22:14 +07:00
window_update_frame_test.go drop support for QUIC 37 and 38 2017-11-07 00:23:53 +07:00
wire_suite_test.go drop support for QUIC 37 and 38 2017-11-07 00:23:53 +07:00