From 32c0888998fe27d3f42b37b3a7a133df92a6ef9a Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 24 Apr 2022 09:32:55 +0200 Subject: [PATCH] Favicon: EOF is unrecoverable --- app/src/main/java/eu/faircode/email/ContactInfo.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/ContactInfo.java b/app/src/main/java/eu/faircode/email/ContactInfo.java index f309a5dd17..2514162453 100644 --- a/app/src/main/java/eu/faircode/email/ContactInfo.java +++ b/app/src/main/java/eu/faircode/email/ContactInfo.java @@ -46,6 +46,7 @@ import org.jsoup.nodes.Element; import org.jsoup.select.Elements; import java.io.BufferedOutputStream; +import java.io.EOFException; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; @@ -894,6 +895,7 @@ public class ContactInfo { (ex instanceof UnknownHostException && ex.getMessage() != null && ex.getMessage().contains("No address associated with hostname")) || + ex instanceof EOFException || ex instanceof FileNotFoundException || ex instanceof SSLPeerUnverifiedException || (ex instanceof SSLException &&