Skip to content

Commit

Permalink
fix MuxMatch
Browse files Browse the repository at this point in the history
  • Loading branch information
xurwxj committed Oct 22, 2021
1 parent 8c10e14 commit 68fb3a6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions registry/cmux.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ func (s *CmuxPlugin) MuxMatch(m cmux.CMux) {
Handler: mux,
}
go httpS.Serve(listener)
err := m.Serve()
if err != nil {
s.Log.Errorf("MuxMatch Serve err: ", err)
}
// go m.Serve()
// err := m.Serve()
// if err != nil {
// s.Log.Errorf("MuxMatch Serve err: ", err)
// }
}

0 comments on commit 68fb3a6

Please sign in to comment.