]> Cypherpunks.ru repositories - ucspi.git/blobdiff - cmd/tlss/main.go
Yet another fix
[ucspi.git] / 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)