From: Sergey Matveev Date: Sun, 19 Sep 2021 13:33:33 +0000 (+0300) Subject: Yet another fix X-Git-Tag: v0.1.0~5 X-Git-Url: http://www.git.cypherpunks.ru/?p=ucspi.git;a=commitdiff_plain;h=2c52702a0f6b4d2019645ddbc604db15dc55348b Yet another fix --- diff --git a/cmd/tlss/main.go b/cmd/tlss/main.go index 881d221..f6b011f 100644 --- a/cmd/tlss/main.go +++ b/cmd/tlss/main.go @@ -105,6 +105,7 @@ func main() { worker := make(chan struct{}) go func() { io.Copy(rw, tlsConn) + rw.Close() }() go func() { io.Copy(tlsConn, wr)