On Mon, Apr 16, 2018 at 3:09 PM, Jens-Uwe Mager <juma...@gmail.com> wrote:
>
> I am checking net.error for the Temporary() condition, and in my very bad
> network I do see really a lot of errors. While doing a GET request I see
> that
>
> http: unexpected EOF reading trailer
>
> is not a temporary error, so my retry logic does not kick in. Is this a
> special case or just an oversight?

EOF means that the TCP connection has closed, so this error is not temporary.

Ian

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to