Remove debugging code that prevented detection of fragmented UDP support

This commit is contained in:
Frank Denis 2020-03-24 12:38:23 +01:00
parent a3376db1b6
commit b328a9768f
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ func dnsExchange(proxy *Proxy, proto string, query *dns.Msg, serverAddress strin
options := 0 options := 0
for tries := 1; tries >= 0; tries-- { for tries := 1; tries >= 0; tries-- {
if tryFragmentsSupport && false { if tryFragmentsSupport {
go func(query *dns.Msg, delay time.Duration) { go func(query *dns.Msg, delay time.Duration) {
time.Sleep(delay) time.Sleep(delay)
option := _dnsExchange(proxy, proto, query, serverAddress, relayUDPAddr, relayTCPAddr, 1500) option := _dnsExchange(proxy, proto, query, serverAddress, relayUDPAddr, relayTCPAddr, 1500)