1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-19 05:38:31 +00:00

Added socket property logging

This commit is contained in:
M66B 2021-10-29 19:31:31 +02:00
parent 395f903edc
commit 1e571eaf4e

View file

@ -1054,11 +1054,15 @@ public class EmailService implements AutoCloseable {
int timeout = socket.getSoTimeout();
boolean keepAlive = socket.getKeepAlive();
int linger = socket.getSoLinger();
boolean reuse = socket.getReuseAddress();
boolean delay = socket.getTcpNoDelay();
Log.i("Socket type=" + socket.getClass().getName() +
" timeout=" + timeout +
" keep-alive=" + keepAlive +
" linger=" + linger);
" linger=" + linger +
" reuse=" + reuse +
" delay=" + delay);
if (keepAlive) {
Log.e("Socket keep-alive=" + keepAlive);