From 6f3d7f5987a6645a0667059ccdd02bb8bb97ff35 Mon Sep 17 00:00:00 2001 From: Lucas Clemente Date: Sat, 21 May 2016 00:05:08 +0200 Subject: [PATCH] enable version 33 fixes #51 --- README.md | 4 ++-- protocol/version.go | 2 +- protocol/version_test.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 14b33dc0d..95eb57d91 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ This is very much an incomplete, buggy, unperformant and insecure work in progre Done: -- Basic protocol with support for QUIC version 30, 31 and 32 +- Basic protocol with support for QUIC version 30-33 - HTTP/2 support - Crypto (RSA for signing, curve25519 for KEX, chacha20-poly1305 as cipher) - Loss detection and retransmission (currently fast retransmission & RTO) @@ -23,7 +23,7 @@ Major TODOs: - Security, especially DOS protections - Performance - Better packet loss detection -- Support for QUIC versions 33 & 34 +- Support for QUIC version 34 - Connection migration - QUIC client - Public API design diff --git a/protocol/version.go b/protocol/version.go index b8cec3f9a..21ee6795d 100644 --- a/protocol/version.go +++ b/protocol/version.go @@ -10,7 +10,7 @@ type VersionNumber int // SupportedVersions lists the versions that the server supports var SupportedVersions = []VersionNumber{ - 30, 31, 32, + 30, 31, 32, 33, } // SupportedVersionsAsTags is needed for the SHLO crypto message diff --git a/protocol/version_test.go b/protocol/version_test.go index f85967e39..7812917b9 100644 --- a/protocol/version_test.go +++ b/protocol/version_test.go @@ -19,7 +19,7 @@ var _ = Describe("Version", func() { }) It("has proper tag list", func() { - Expect(protocol.SupportedVersionsAsTags).To(Equal([]byte("Q030Q031Q032"))) + Expect(protocol.SupportedVersionsAsTags).To(Equal([]byte("Q030Q031Q032Q033"))) }) It("recognizes supported versions", func() {