Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
xtaci committed Aug 27, 2016
1 parent b4e5181 commit 8705bd7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions client/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,6 @@ func main() {
// do session open
p2, err := muxes[idx].session.Open()
if err != nil { // yamux failure
log.Println(err)
p1.Close()
muxes[idx].session = createConn()
muxes[idx].ttl = time.Now().Add(time.Duration(autoexpire) * time.Second)
goto OPEN_P2
Expand Down

0 comments on commit 8705bd7

Please sign in to comment.