]> Cypherpunks repositories - gostls13.git/commit
net: restore per-query timeout logic
authorMatthew Dempsky <mdempsky@google.com>
Mon, 29 Aug 2016 20:53:32 +0000 (13:53 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Mon, 29 Aug 2016 23:40:48 +0000 (23:40 +0000)
commit11e3955e10ccd9105b78e07f4785402a5c8ceaf7
tree75050ec96b125e1ad4e32128150319a3895d2bb5
parentaaa6b5352420aaaf9d46848facb5854927b3130e
net: restore per-query timeout logic

The handling of "options timeout:n" is supposed to be per individual
DNS server exchange, not per Lookup call.

Fixes #16865.

Change-Id: I2304579b9169c1515292f142cb372af9d37ff7c1
Reviewed-on: https://go-review.googlesource.com/28057
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/dnsclient_unix.go
src/net/dnsclient_unix_test.go