aboutsummaryrefslogtreecommitdiff
path: root/middleware/proxy/proxy_test.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2017-01-11 21:23:57 +0000
committerGravatar GitHub <noreply@github.com> 2017-01-11 21:23:57 +0000
commit0c3ad499d87b4ee4e43a49ac8c8102e6369d7e19 (patch)
treee0952593e0a6ac14ff236e4f37ff82476fb38a2f /middleware/proxy/proxy_test.go
parent0ee88d300794a9c77d96c57097b72743758e8bd4 (diff)
downloadcoredns-0c3ad499d87b4ee4e43a49ac8c8102e6369d7e19.tar.gz
coredns-0c3ad499d87b4ee4e43a49ac8c8102e6369d7e19.tar.zst
coredns-0c3ad499d87b4ee4e43a49ac8c8102e6369d7e19.zip
middleware/proxy: add read/writeDeadline (#477)
Add deadline to break the connection. We use the default of 5 seconds. After this the backend is marked unhealthy and not used for some time. Fixes #467
Diffstat (limited to 'middleware/proxy/proxy_test.go')
-rw-r--r--middleware/proxy/proxy_test.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/middleware/proxy/proxy_test.go b/middleware/proxy/proxy_test.go
deleted file mode 100644
index faeef1858..000000000
--- a/middleware/proxy/proxy_test.go
+++ /dev/null
@@ -1,3 +0,0 @@
-package proxy
-
-/* TODO */