add QUIC 39 to supported versions

The Chrome installed on Travis doesn't support QUIC 39 yet.
This commit is contained in:
Marten Seemann
2017-08-11 09:40:10 +07:00
parent 6bdd782a4b
commit 2b683be36a
3 changed files with 6 additions and 1 deletions

View File

@@ -2,7 +2,7 @@
## v0.6.0 (unreleased)
- Add support for QUIC 38
- Add support for QUIC 38 and 39
- Added `quic.Config` options for maximal flow control windows
- Add a `quic.Config` option for QUIC versions
- Add a `quic.Config` option to request truncation of the connection ID from a server

View File

@@ -2,6 +2,7 @@ package chrome_test
import (
"fmt"
"os"
"github.com/lucas-clemente/quic-go/protocol"
@@ -16,6 +17,9 @@ var _ = Describe("Chrome tests", func() {
supportedVersionsBefore := protocol.SupportedVersions
BeforeEach(func() {
if version == protocol.Version39 && os.Getenv("TRAVIS") == "true" {
Skip("The chrome version running on Travis doesn't support QUIC 39 yet.")
}
protocol.SupportedVersions = []protocol.VersionNumber{version}
})

View File

@@ -18,6 +18,7 @@ const (
// SupportedVersions lists the versions that the server supports
// must be in sorted descending order
var SupportedVersions = []VersionNumber{
Version39,
Version38,
Version37,
Version36,