use a separate function to close the session after VN and retry

This commit is contained in:
Marten Seemann
2018-12-21 23:47:10 +06:30
parent b166757fd9
commit f9218444a9
6 changed files with 54 additions and 17 deletions

View File

@@ -43,6 +43,7 @@ type quicSession interface {
GetVersion() protocol.VersionNumber
run() error
destroy(error)
closeForRecreating()
closeRemote(error)
}