Skip to content

Commit

Permalink
2024-08-07 14:05:31
Browse files Browse the repository at this point in the history
  • Loading branch information
mohanson committed Aug 7, 2024
1 parent 2b09fc3 commit f7c3eff
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion protocol/czar/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ func (c *Client) Run() {
sid = 2
}
case err == nil:
log.Println("czar: mux init")
mux = NewMuxClient(srv)
rtt = 0
sid = 1
Expand All @@ -176,9 +177,11 @@ func (c *Client) Run() {
select {
case c.Mux <- mux:
case <-mux.rdn:
log.Println("czar: mux done")
sid = 0
case <-c.Cancel:
sid = 3
log.Println("czar: mux done")
sid = 2
}
case 2:
mux.Close()
Expand Down

0 comments on commit f7c3eff

Please sign in to comment.