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:
parent
395f903edc
commit
1e571eaf4e
1 changed files with 5 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue