mirror of
https://github.com/Monibuca/plugin-hdl.git
synced 2025-10-05 08:47:00 +08:00
chore: fit engine update
This commit is contained in:
6
pull.go
6
pull.go
@@ -27,7 +27,11 @@ func NewHDLPuller() *HDLPuller {
|
||||
pool: make(util.BytesPool, 17),
|
||||
}
|
||||
}
|
||||
|
||||
func (puller *HDLPuller) Disconnect() {
|
||||
if puller.Closer != nil {
|
||||
puller.Closer.Close()
|
||||
}
|
||||
}
|
||||
func (puller *HDLPuller) Connect() (err error) {
|
||||
HDLPlugin.Info("connect", zap.String("remoteURL", puller.RemoteURL))
|
||||
if strings.HasPrefix(puller.RemoteURL, "http") {
|
||||
|
Reference in New Issue
Block a user