mirror of
https://github.com/safing/portmaster
synced 2025-09-13 00:09:40 +00:00
Force resolvers to reconnect after connecting to SPN
This commit is contained in:
parent
bd0314ee9e
commit
3d69216c27
8 changed files with 103 additions and 17 deletions
|
@ -96,3 +96,7 @@ func (pr *PlainResolver) Query(ctx context.Context, q *Query) (*RRCache, error)
|
|||
// TODO: check if reply.Answer is valid
|
||||
return newRecord, nil
|
||||
}
|
||||
|
||||
// ForceReconnect forces the resolver to re-establish the connection to the server.
|
||||
// Does nothing for PlainResolver, as every request uses its own connection.
|
||||
func (pr *PlainResolver) ForceReconnect(_ context.Context) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue