• dilyevsky's avatar
    [plugin/proxy]: Return on WriteMsg err. (#2096) · 4ac06a34
    dilyevsky authored
    * [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).
    4ac06a34
dns.go 2.13 KB