add version number to Frame.Write

This commit is contained in:
Lucas Clemente
2016-05-09 19:50:15 +02:00
parent a219b72968
commit 14b16a429c
21 changed files with 48 additions and 46 deletions

View File

@@ -11,7 +11,7 @@ type VersionNumber int
// SupportedVersions lists the versions that the server supports
var SupportedVersions = []VersionNumber{
32,
31, 32,
}
// SupportedVersionsAsTags is needed for the SHLO crypto message

View File

@@ -19,7 +19,7 @@ var _ = Describe("Version", func() {
})
It("has proper tag list", func() {
Expect(protocol.SupportedVersionsAsTags).To(Equal([]byte("Q032")))
Expect(protocol.SupportedVersionsAsTags).To(Equal([]byte("Q031Q032")))
})
It("recognizes supported versions", func() {