{"push_id":1310269524,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"2bc5f1258e049e1d59711046e5c865500eefa159","before":"ea143c299040f8a270fb782c5efd3a3a5e6057a4","commits":[{"sha":"2bc5f1258e049e1d59711046e5c865500eefa159","author":{"name":"Brad Fitzpatrick","email":"9b57cd4de34ef5e00ba5b6ee67d7b6e836d0dbaa@golang.org"},"message":"net: add Resolver type, Dialer.Resolver, and DefaultResolver\n\nThe new Resolver type (a struct) has 9 Lookup methods, all taking a\ncontext.Context.\n\nThere's now a new DefaultResolver global, like http's\nDefaultTransport and DefaultClient.\n\nnet.Dialer now has an optional Resolver field to set the Resolver.\n\nThis also does finishes some resolver cleanup internally, deleting\nlookupIPMerge and renaming lookupIPContext into Resolver.LookupIPAddr.\n\nThe Resolver currently doesn't let you tweak much, but it's a struct\nspecifically so we can add knobs in the future. Currently I just added\na bool to force the pure Go resolver. In the future we could let\npeople provide an interface to implement the methods, or add a Timeout\ntime.Duration, which would wrap all provided contexts in a\ncontext.WithTimeout.\n\nFixes #16672\n\nChange-Id: I7ba1f886704f06def7b6b5c4da9809db51bc1495\nReviewed-on: https://go-review.googlesource.com/29440\nRun-TryBot: Brad Fitzpatrick <bradfitz@golang.org>\nTryBot-Result: Gobot Gobot <gobot@golang.org>\nReviewed-by: Ian Lance Taylor <iant@golang.org>","distinct":true,"url":"https://api.github.com/repos/golang/go/commits/2bc5f1258e049e1d59711046e5c865500eefa159"}]}
{"actor":{"display_login":"gopherbot"}}