miekg / exdns

Go DNS example programs
BSD 2-Clause "Simplified" License
301 stars 60 forks source link

q: configurable TCP timeout? #20

Closed JeremyRand closed 5 years ago

JeremyRand commented 5 years ago

The TCP timeout in q is hardcoded to 2 seconds. Would a PR that makes this configurable via a command-line flag be accepted?

miekg commented 5 years ago

[ Quoting notifications@github.com in "[miekg/exdns] q: configurable TCP t..." ]

The TCP timeout in q is hardcoded to 2 seconds. Would a PR that makes this configurable via a command-line flag be accepted?

just look what dig does, PR sgtm