Files
coredns/plugin
Miek Gieben 81348b420b plugin/forward: TCP conns can be closed (#1651)
* plugin/forward: TCP conns can be closed

Only when we read and get a io.EOF we know the conn is closed (for TCP).
If this is the case Dial (again) and retry. Note that this new
connection can also be closed by the upstream, we may want to add a
DialForceNew or something to get a new TCP connection..

Simular to #1624, *but* this is by (TCP) design. We also don't have to
wait for a timeout which makes it easier to reason about.

* Move to forward.go

* doesnt need changing
2018-04-01 16:18:21 +01:00
..
2018-02-28 19:56:14 -08:00
2018-02-08 10:55:51 +00:00
2018-01-04 12:53:07 +00:00
2018-03-13 16:33:11 -04:00
2018-03-02 17:17:26 -08:00
2018-02-28 19:56:14 -08:00
2018-03-09 15:08:57 -05:00
2018-02-28 19:56:14 -08:00
2017-10-24 10:16:03 +01:00
2018-04-01 13:57:03 +01:00