Looking further into this, I see this as a typical transient error in a bad network on downloading files. It may be different elsewhere, but I have to retry on that error as it appears. And I cannot change the network somewhere in the Guatemala outback.
On Monday, April 16, 2018 at 4:59:28 PM UTC-6, Ian Lance Taylor wrote: > > On Mon, Apr 16, 2018 at 3:09 PM, Jens-Uwe Mager <jum...@gmail.com > <javascript:>> 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.