- extractTTL: use 0 as initial value and take actual minimum TTL from answer records. Previously hardcoded 300 would cap higher TTLs. - TCP handler: add 90s read deadline to prevent idle connections from blocking goroutines indefinitely. - Server.Close: close upstream groups to release connection pool resources.
7.6 KiB
7.6 KiB