]> Sergey Matveev's repositories - tofuproxy.git/commitdiff
Unused variable
authorSergey Matveev <stargrave@stargrave.org>
Sat, 12 Aug 2023 12:09:35 +0000 (15:09 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sat, 12 Aug 2023 12:10:44 +0000 (15:10 +0300)
tls.go

diff --git a/tls.go b/tls.go
index b73d42eebfd29f5242135d3927b5d30c14e7caf5..a1283c5771c54964cd40a008e9784b8d9709552d 100644 (file)
--- a/tls.go
+++ b/tls.go
@@ -34,7 +34,6 @@ var (
        TLSNextProtoS = make(map[string]func(*http.Server, *tls.Conn, http.Handler))
        CACert        *x509.Certificate
        CAPrv         crypto.PrivateKey
-       sessionCache  = tls.NewLRUClientSessionCache(1024)
 )
 
 type Handler struct{}