zeripath 0fe99cc00c
If rendering has failed due to a net.OpError stop rendering (attempt 2) (#19049) (#19056)
Backport #19049

Unfortunately #18642 does not work because a `*net.OpError` does not implement
the `Is` interface to make `errors.Is` work correctly - thus leading to the
irritating conclusion that a `*net.OpError` is not a `*net.OpError`.

Here we keep the `errors.Is` because presumably this will be fixed at
some point in the golang main source code but also we add a simply type
cast to also check.

Fix #18629

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-03-10 22:13:55 +01:00
..
2019-06-26 16:51:32 +08:00
2022-01-02 21:12:35 +08:00
2022-01-02 21:12:35 +08:00
2021-01-27 22:56:54 +08:00
2021-01-26 16:36:53 +01:00
2021-01-26 16:36:53 +01:00