Persist endpoint

This commit is contained in:
Marco Munizaga 2022-06-15 15:25:40 -07:00
parent dc09a97d9b
commit a41033230f

View File

@ -278,6 +278,7 @@ func (r *resourceManager) OpenConnection(dir network.Direction, usefd bool, endp
} else {
conn = newConnectionScope(dir, usefd, r.limits.GetConnLimits(), r)
}
conn.endpoint = endpoint
if err := conn.AddConn(dir, usefd); err != nil {
conn.Done()