remove err print
This commit is contained in:
parent
fbf0d28672
commit
eb2a176450
1 changed files with 0 additions and 1 deletions
|
|
@ -63,7 +63,6 @@ func (l *PortForwarder) handleConnection(ctx context.Context, conn net.Conn) {
|
|||
|
||||
copyConn := func(writer io.Writer, reader io.Reader) {
|
||||
if _, err := io.Copy(writer, reader); err != nil {
|
||||
fmt.Println(err)
|
||||
channel.Close()
|
||||
conn.Close()
|
||||
if err != io.EOF {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue