Skip to content

Commit

Permalink
remove unnecessary (at least) Conn.Close()
Browse files Browse the repository at this point in the history
  • Loading branch information
aranhoide committed Jun 11, 2014
1 parent 721f5a3 commit 58398a8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion conn_http.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ func pipeData(clientConn net.Conn, buffClientConn *bufio.ReadWriter, proxyConn *
return
}
io.Copy(proxyConn, buffClientConn)
proxyConn.Close()
}()

// Copy from proxy to client
Expand Down

0 comments on commit 58398a8

Please sign in to comment.