diff options
author | 2017-01-11 21:23:57 +0000 | |
---|---|---|
committer | 2017-01-11 21:23:57 +0000 | |
commit | 0c3ad499d87b4ee4e43a49ac8c8102e6369d7e19 (patch) | |
tree | e0952593e0a6ac14ff236e4f37ff82476fb38a2f /middleware/proxy/proxy_test.go | |
parent | 0ee88d300794a9c77d96c57097b72743758e8bd4 (diff) | |
download | coredns-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.go | 3 |
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 */ |