implement sending of truncated ConnectionIDs

This commit is contained in:
Marten Seemann
2016-05-06 21:53:21 +07:00
parent 965addac79
commit bb807fa5bd
8 changed files with 81 additions and 21 deletions

View File

@@ -352,6 +352,7 @@ var _ = Describe("Session", func() {
session.connectionParametersManager.SetFromMap(map[handshake.Tag][]byte{
handshake.TagICSL: {0, 0, 0, 0},
})
session.packer.connectionParametersManager = session.connectionParametersManager
session.Run() // Would normally not return
Expect(conn.written[0]).To(ContainSubstring("No recent network activity."))
close(done)