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
..
2022-01-10 17:32:37 +08:00
2021-12-20 04:41:31 +00:00
2021-12-06 00:24:57 +08:00
2022-01-10 17:32:37 +08:00
2022-01-10 17:32:37 +08:00
2022-01-14 16:03:31 +01:00
2020-10-02 23:37:53 -04:00
2021-12-20 04:41:31 +00:00
2022-01-02 21:12:35 +08:00
2022-01-10 17:32:37 +08:00
2022-01-10 17:32:37 +08:00
2021-12-20 04:41:31 +00:00
2022-01-02 21:12:35 +08:00
2021-12-20 04:41:31 +00:00
2022-01-10 17:32:37 +08:00
2021-12-20 04:41:31 +00:00
2020-04-05 07:20:50 +01:00
2022-01-04 15:13:52 +00:00
2021-10-13 22:50:23 -04:00
2021-12-20 04:41:31 +00:00