Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
xtaci committed Aug 30, 2016
1 parent 27f7658 commit 4d06209
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ func handleMux(conn io.ReadWriteCloser, target string, config *yamux.Config) {
sockbuf := int(config.MaxStreamWindowSize)
p2, err := net.DialTimeout("tcp", target, 5*time.Second)
if err != nil {
p1.Close()
log.Println(err)
return
}
Expand Down

0 comments on commit 4d06209

Please sign in to comment.