URI: 
       tIf verbose, also report when connections are closed. - tlstun - simple go program to add tls support to other listeners
  HTML git clone https://git.parazyd.org/tlstun
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit bdb61ded87442d30f124e26effef8feede8ebb53
   DIR parent 39b27c5d1587742ae027a194d09a22102dc92e50
  HTML Author: parazyd <parazyd@dyne.org>
       Date:   Tue,  9 Jul 2019 19:05:06 +0200
       
       If verbose, also report when connections are closed.
       
       Diffstat:
         M tlstun.go                           |       3 +++
       
       1 file changed, 3 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/tlstun.go b/tlstun.go
       t@@ -92,6 +92,9 @@ func tunnel(conn net.Conn) {
                        io.Copy(client, conn)
                }()
                go func() {
       +                if *verbose {
       +                        defer log.Printf("Closed connection from %s\n", conn.RemoteAddr())
       +                }
                        defer client.Close()
                        defer conn.Close()
                        io.Copy(conn, client)