mirror of
https://gitee.com/IrisVega/frp.git
synced 2024-11-01 22:31:29 +08:00
fix: frps plugin manager (#1803)
This commit is contained in:
parent
591023a1f0
commit
bd6435c982
@ -52,7 +52,7 @@ func (m *Manager) Register(p Plugin) {
|
|||||||
m.pingPlugins = append(m.pingPlugins, p)
|
m.pingPlugins = append(m.pingPlugins, p)
|
||||||
}
|
}
|
||||||
if p.IsSupport(OpNewWorkConn) {
|
if p.IsSupport(OpNewWorkConn) {
|
||||||
m.pingPlugins = append(m.pingPlugins, p)
|
m.newWorkConnPlugins = append(m.newWorkConnPlugins, p)
|
||||||
}
|
}
|
||||||
if p.IsSupport(OpNewUserConn) {
|
if p.IsSupport(OpNewUserConn) {
|
||||||
m.newUserConnPlugins = append(m.newUserConnPlugins, p)
|
m.newUserConnPlugins = append(m.newUserConnPlugins, p)
|
||||||
|
Loading…
Reference in New Issue
Block a user