mirror of
https://github.com/fatedier/frp.git
synced 2026-03-20 08:49:16 +08:00
handle close
This commit is contained in:
@@ -105,5 +105,8 @@ func (p *HTTP2HTTPSPlugin) Name() string {
|
||||
}
|
||||
|
||||
func (p *HTTP2HTTPSPlugin) Close() error {
|
||||
if err := p.s.Close();err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user