Attempt to close failed streams
If we have a failed write toward any of our connections, attempt to close the connection by returning "false" as in unsuccessful stream
This commit is contained in:
parent
cfd4781eb4
commit
6ffea2225d
2 changed files with 7 additions and 3 deletions
|
@ -309,6 +309,7 @@ func (h *Headscale) notifyChangesToPeers(m *Machine) {
|
|||
Str("machine", m.Name).
|
||||
Str("peer", p.Name).
|
||||
Msgf("Peer %s does not appear to be polling", p.Name)
|
||||
return
|
||||
}
|
||||
log.Trace().
|
||||
Str("func", "notifyChangesToPeers").
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue