tunnel: checking closed connector

This commit is contained in:
ginuerzh
2024-11-01 15:25:45 +08:00
parent 88ba01b3dd
commit f4d9a5f79b
11 changed files with 121 additions and 108 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ func (h *tunnelHandler) Init(md md.Metadata) (err error) {
h.log = h.options.Logger.WithFields(map[string]any{
"node": h.id,
})
h.pool = NewConnectorPool(h.id, h.md.sd)
h.pool = NewConnectorPool(h.id)
h.ep = &entrypoint{
node: h.id,