]> Cypherpunks.ru repositories - ucspi.git/commitdiff
Yet another fix
authorSergey Matveev <stargrave@stargrave.org>
Sun, 19 Sep 2021 13:33:33 +0000 (16:33 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sun, 19 Sep 2021 13:33:33 +0000 (16:33 +0300)
cmd/tlss/main.go

index 881d2210990b85d1d745b5b6ac0f0c78e749c2fd..f6b011fa43968f16a32674da6a02a752306eb61e 100644 (file)
@@ -105,6 +105,7 @@ func main() {
        worker := make(chan struct{})
        go func() {
                io.Copy(rw, tlsConn)
+               rw.Close()
        }()
        go func() {
                io.Copy(tlsConn, wr)