rename removing of connection IDs to retiring

This commit is contained in:
Marten Seemann
2018-11-13 14:14:05 +07:00
parent c8ae4fada0
commit a3831b2134
9 changed files with 56 additions and 56 deletions

View File

@@ -406,7 +406,7 @@ func (c *client) createNewTLSSession(version protocol.VersionNumber) error {
defer c.mutex.Unlock()
runner := &runner{
onHandshakeCompleteImpl: func(_ Session) { close(c.handshakeChan) },
removeConnectionIDImpl: c.packetHandlers.Remove,
retireConnectionIDImpl: c.packetHandlers.Retire,
}
sess, err := newClientSession(
c.conn,