mirror of
https://github.com/fatedier/frp.git
synced 2024-12-14 02:31:21 +01: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