<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>cancel on CoreDNS: DNS and Service Discovery</title>
    <link>https://coredns.io/tags/cancel/</link>
    <description>Recent content in cancel on CoreDNS: DNS and Service Discovery</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <copyright>CoreDNS - All Rights Reserved</copyright>
    <lastBuildDate>Wed, 28 Oct 2020 18:26:48 +0000</lastBuildDate><atom:link href="https://coredns.io/tags/cancel/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>cancel</title>
      <link>https://coredns.io/plugins/cancel/</link>
      <pubDate>Wed, 28 Oct 2020 18:26:48 +0000</pubDate>
      
      <guid>https://coredns.io/plugins/cancel/</guid>
      <description>Description The cancel plugin creates a canceling context for each request. It adds a timeout that gets triggered after 5001 milliseconds.
The 5001 number was chosen because the default timeout for DNS clients is 5 seconds, after that they give up.
A plugin interested in the cancellation status should call plugin.Done() on the context. If the context was canceled due to a timeout the plugin should not write anything back to the client and return a value indicating CoreDNS should not either; a zero return value should suffice for that.</description>
    </item>
    
  </channel>
</rss>
