rename the Cleartext Long Header type to Handshake

This was recently changed in the draft.
This commit is contained in:
Marten Seemann
2017-11-12 14:41:59 +08:00
parent 2b3b760f41
commit 683f244054
4 changed files with 9 additions and 9 deletions

View File

@@ -31,8 +31,8 @@ const (
PacketTypeInitial PacketType = 2
// PacketTypeRetry is the packet type of a Retry packet
PacketTypeRetry PacketType = 3
// PacketTypeCleartext is the packet type of a Cleartext packet
PacketTypeCleartext PacketType = 4
// PacketTypeHandshake is the packet type of a Cleartext packet
PacketTypeHandshake PacketType = 4
// PacketType0RTT is the packet type of a 0-RTT packet
PacketType0RTT PacketType = 5
)