This commit is contained in:
fatedier committed 2018-08-10 12:02:38 +08:00
1 parent f645082d72
commit 941ac25648
3 files changed
+7 -9

No files matched your search

+2 -2
View File
@@ -122,8 +122,8 @@ func NewService() (svr *Service, err error) {
return
}
svr.muxer = mux.NewMux()
go svr.muxer.Serve(ln)
svr.muxer = mux.NewMux(ln)
go svr.muxer.Serve()
ln = svr.muxer.DefaultListener()
svr.listener = frpNet.WrapLogListener(ln)