diff options
author | 2018-09-17 10:21:12 -0700 | |
---|---|---|
committer | 2018-09-17 10:21:12 -0700 | |
commit | 4ac06a342b48e25cf79773a7d9d1cf57f0f6c564 (patch) | |
tree | 10bbee2653b802d0e1c07b8f8d077d50f953e1e3 /plugin/normalize.go | |
parent | 063999551d2d7ac58a66c1c376668ac2d44af379 (diff) | |
download | coredns-4ac06a342b48e25cf79773a7d9d1cf57f0f6c564.tar.gz coredns-4ac06a342b48e25cf79773a7d9d1cf57f0f6c564.tar.zst coredns-4ac06a342b48e25cf79773a7d9d1cf57f0f6c564.zip |
[plugin/proxy]: Return on WriteMsg err. (#2096)
* [plugin/proxy]: Return on WriteMsg err.
Followup PR on the heels of #2050. Short-circut and log on error from
`WriteMsg`. This will prevent code getting stuck on `ReadMsg` and allow
for easier debugging.
Also simply the `ReadMsg` calling code a little - remove double `Close` (already called above).
Diffstat (limited to 'plugin/normalize.go')
0 files changed, 0 insertions, 0 deletions