lib/connections: Add QUIC protocol support (fixes #5377) (#5737)

This commit is contained in:
Audrius Butkevicius
2019-05-29 08:56:40 +01:00
committed by Jakob Borg
parent d8fa61e27c
commit e714df013f
32 changed files with 1290 additions and 128 deletions

View File

@@ -8,6 +8,7 @@ package versioner
import (
"path/filepath"
"sort"
"strconv"
"time"
@@ -242,7 +243,9 @@ func (v *Staggered) Archive(filePath string) error {
// Use all the found filenames.
versions := append(oldVersions, newVersions...)
v.expire(util.UniqueStrings(versions))
versions = util.UniqueTrimmedStrings(versions)
sort.Strings(versions)
v.expire(versions)
return nil
}