process.exit(0); throw new Error("Well that didn't work"); it.css'/>
aboutsummaryrefslogtreecommitdiff
path: root/request/request_test.go (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2018-11-29Up to DNS version 1.1.0 (#2346)Gravatar Miek Gieben 4-33/+2
Upgrade to new dns lib version; that saw multiple improvements; some patch releases are in the pipeline. The big thing here is the removal of ErrTruncated, so we need to deal with this slightly different in the forward plugin. It removed the entire truncated.go logic and just checks the message for .Truncated (if there is a message) and retries with tcp. Signed-off-by: Miek Gieben <miek@miek.nl>
2018-11-28Update README.md (#2344)Gravatar Cricket Liu 1-10/+10
Textual cleanup.
2018-11-27Update README.md (#2341)Gravatar Cricket Liu 1-22/+22
Miscellaneous textual cleanup.
2018-11-23Scrub results in forwarding/lookup (#2331)Gravatar Miek Gieben 1-1/+2
Signed-off-by: Miek Gieben <miek@miek.nl>
2018-11-21Add the missed braces. (#2330)Gravatar Jiacheng Xu 1-2/+3
2018-11-21Do not muck with ordering of XFRs (#2329)Gravatar John Belamaric 2-0/+40
The loadbalancer plugin reorders records. It was doing this for zone transfers - if you had a CNAME in the zone then your transfer would be broken because it would get put before the SOA record.
2018-11-20plugin/forward: make tls config more clear (#2326)Gravatar Miek Gieben 1-1/+15
Automatically submitted.
2018-11-20plugin/forward: remove dynamic read timeout (#2319)Gravatar Miek Gieben 5-26/+15
* plugin/forward: remove dynamic read timeout We care about an upstream being there, so we still have a dynamic dial time out (by way higher then 200ms) of 1s; this should be fairly stable for an upstream. The read timeout if more variable because of cached and non cached responses. As such remove his logic entirely. Drop to 2s read timeout. Fixes #2306 Signed-off-by: Miek Gieben <miek@miek.nl>
2018-11-19Update caddy to 0.11.1 (#2321)Gravatar Yong Tang 1-1/+1
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2018-11-16Set SOA record TTL as min of TTL/MINIMUM (#2295)Gravatar stuart nelson 9-37/+43
* Set SOA record TTL as min of TTL/MINIMUM According to https://tools.ietf.org/html/rfc2308#section-3: The TTL of this record is set from the minimum of the MINIMUM field of the SOA record and the TTL of the SOA itself, and indicates how long a resolver may cache the negative answer. Set the TTL accordingly so as to not always negative cache SOA records for 300 seconds. * Inline min func * Update SOA record tests * Fix types
2018-11-15Redo the plugin log PR (#2315)Gravatar Miek Gieben 2-8/+19
* Redo the plugin log PR Remove the code duplication and call of the "official" functions. This is the second(?) time we forgot to update the other half, so remove that problem entirely. Also add a test if the correct (within limits) time in front of the log line. Signed-off-by: Miek Gieben <miek@miek.nl> * Remove pFormat Signed-off-by: Miek Gieben <miek@miek.nl>
2018-11-15OWNERS: Add email (#2313)Gravatar Chris O'Haver 1-2/+2
* Add email * Add my affiliated organization (Infoblox)
2018-11-14Advertize email next to my github username (#2296)Gravatar Francois Tur 1-1/+1
* Add email next to my github handle Following Governance description, I add my email next to my github handle. I would need for CNCF Graduation to show the different organizations the maintainers are from. Anyone with no email or personal email (like gmail) will be considered under its own organization. That would also help when vote will come-in, as we restraint votes for people on the same organization. @miekg : * I guess that will need change in the dreck project that parse this file. * Do you want me to PR the change on that project (miek/dreck) ? * Update with a comment Co-Authored-By: fturib <ftur@infoblox.com>
2018-11-13Follow up on OWNERS format (#2305)Gravatar Yong Tang 1-1/+1
Based on comment: https://github.com/coredns/coredns/pull/2298#issuecomment-438473086 Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2018-11-13Project lead (#2298)Gravatar Yong Tang 1-1/+1
* Project lead This change is considered as part of the GOVERNANCE.md update (11/12/2018) to add the project lead in OWNERS file. The term (11/12/2019) aligns with GOVERNANCE.md update. Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Change term to 11/11/2019, as it should be part of the GOVERNANCE.md update (11/12/2018) Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Update to use comment Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2018-11-13plugin/kubernetes: Validate transfers are allowed (#2292)Gravatar Chris O'Haver 3-2/+105
* check allowed transfers * add tests for parsing, and comment about refactor
2018-11-13Governance: Clarify definition of "Transparent and accessible" (#2300)Gravatar Chris O'Haver 1-1/+1
* Update GOVERNANCE.md * feedback * capitalize CNCF
2018-11-13pkg/log: use 000 instead of 999 for the millis (#2303)Gravatar Miek Gieben 1-1/+1
999 chops of suffix zero, 000 allows for the milliseconds to be always printed with 3 chars. This makes the log the printed with the same columns. (partial logs below) 2018-11-13T21:13:28.249Z [INFO] [::1] 2018-11-13T21:13:48.414Z [INFO] [::1] 2018-11-13T21:13:49.1Z [INFO] [::1] vs: 2018-11-13T21:20:22.262Z [INFO] [::1] 2018-11-13T21:20:22.436Z [INFO] [::1] 2018-11-13T21:20:22.608Z [INFO] [::1] Signed-off-by: Miek Gieben <miek@miek.nl>
2018-11-13Update README.md in route53 plugin (#2299)Gravatar Yong Tang 1-10/+0
Update README.md in route53 plugin, as credentials_file is not supported. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2018-11-13fix formatting (#2302)Gravatar Sandeep Rajan 2-4/+4
2018-11-13plugin/log - Support for Metadata (#2251)Gravatar Francois Tur 5-19/+123
* - add metadata support to Log * - adapt ctx after rebase