name the repository.
aboutsummaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/net/PATENTS (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2018-06-12plugin/file: fix local CNAME lookup (#1866)Gravatar Miek Gieben 5-28/+83
* plugin/file: fix local CNAME lookup Issue #1864 explains it will, when we serve the child zone as well we should just recursive into ourself (upstream self). Thus relax the IsSubDomain check in file/lookup.go and just query (even if the query will hit a remote server). I've looped over all other plugins that do something similar (CNAME resolving) and they didn't do the IsSubDomain check; therefor I've removed it from *file* as well. Added test in file_upstream_test that shows this failed before but now results in a reply. Fixes #1864 * self does not need to be exported * Fix test We don't know if we had a valid reply. Check this.
2018-06-11Remove dnsutil.Dedup (#1867)Gravatar Miek Gieben 6-61/+66
Remove the code and remove the call in etcd and kubernetes handlers. This does mean we should not add dups in the first place, which means adding maps in backend_lookup to prevent dups from begin added. This should cut down on the allocations because dnsutil.Dedup is very expensive by converting everything to strings, we avoid doing that now.
2018-06-07Update the pr template (#1862)Gravatar Miek Gieben 1-5/+1
Add "Why is this needed". I can get a description of what the PR does from the code changes, answering the why question is more important.
2018-06-07Normalizing Response Duration in Log Plugin (#1860)Gravatar Malcolm Akinje 2-1/+5
* Current stage of the log files. Test need to be done as well as formatting of times. * Finished testing. All altered classes test pass along with my additions * Updated the replacer package to print the units as well. May take out. * Changed the time units to be within the rules. Fixed the test as well. * Fixed some tests, updated the readme, fixed the replacer class. * Updates of standardizing only to seconds in response duration. Need to revert README. * Reverted readme. * Added a small test in new replacer. * Changed replacer to inline the strconv for duration.
2018-06-05plugin/forward: fix alignment for sync.Atomic (#1855)Gravatar Miek Gieben 1-3/+3
These must be alligned on 8 bytes, in Go this means putting them first in the struct (AFAICT).
2018-06-05Update Makefile.release for docker image build (#1856)Gravatar Yong Tang 1-15/+0
This fix update Makefile.release for docker image build on different platforms. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2018-06-04Docker: drop alpine (#1843)Gravatar Miek Gieben 1-3/+6
* Docker: drop alpine Create a multistage docker build image that uses debian to install certs and then create the final image by using FROM: scratch. This creates a (slightly) smaller images and drops busybox and alpine. * Even less copying
2018-06-02Fix presubmit (#1850)Gravatar Miek Gieben 2-15/+15
Uppercase these test cases as well.
2018-06-02presubmit: Check errorf as well (#1845)Gravatar Miek Gieben 19-52/+57
Uppercase all these test errors as well. And extend the presubmit to check for these in the future. Also do a slightly smarter grep to only get t.<something>. as (because dump regexp) this also grep over non test files.