close connections created by DialAddr when the session is closed

This commit is contained in:
Marten Seemann
2018-08-06 16:41:53 +07:00
parent 61fb67096f
commit cfa55f91bc
3 changed files with 82 additions and 21 deletions

View File

@@ -81,7 +81,7 @@ var _ = Describe("Server", func() {
It("doesn't use 0-byte connection IDs", func() {
config := &Config{}
c := populateClientConfig(config, true)
c := populateServerConfig(config)
Expect(c.ConnectionIDLength).To(Equal(protocol.DefaultConnectionIDLength))
})
})