Debug: proxy connections

This commit is contained in:
M66B
2023-12-02 12:39:00 +01:00
parent af9fb287cf
commit 47ec1ade23
4 changed files with 36 additions and 2 deletions

View File

@@ -312,7 +312,7 @@ public class SocketFetcher {
} else {
SocketFactory f = (SocketFactory) props.get("fairemail.factory");
eu.faircode.email.Log.i("Using socket factory=" + f);
socket = (f == null ? new Socket() : f.createSocket());
socket = (f == null ? eu.faircode.email.ConnectionHelper.getSocket(host, port) : f.createSocket());
}
}
if (to >= 0) {