Discussion:
tls_socket_read problem
Yubin Ruan
2017-09-15 10:12:01 UTC
Permalink
Hi,
I have some problem when using mutt with a sock5 proxy.

I am currently backing mutt with a sock5 proxy (using proxychain). But when I
leave my computer for a while, not touch anything, there would be error:
tls_socket_read (The TLS connection was non-properly terminated.)

and I have to pick up the connection again.

So, is there any option for long/permenant connection?

Thanks,
Yubin
Kevin J. McCarthy
2017-09-15 16:30:14 UTC
Permalink
Post by Yubin Ruan
I am currently backing mutt with a sock5 proxy (using proxychain). But when I
tls_socket_read (The TLS connection was non-properly terminated.)
and I have to pick up the connection again.
So, is there any option for long/permenant connection?
You could try decreasing $imap_keepalive.
--
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA
Yubin Ruan
2017-09-16 12:16:35 UTC
Permalink
Post by Kevin J. McCarthy
Post by Yubin Ruan
I am currently backing mutt with a sock5 proxy (using proxychain). But when I
tls_socket_read (The TLS connection was non-properly terminated.)
and I have to pick up the connection again.
So, is there any option for long/permenant connection?
You could try decreasing $imap_keepalive.
That works pretty well. Thanks ;-)
But, still, mutt will hang for a while after some time of non-activity. I
guess that is because it is not multi-threaded and it have to stop the whole
program when checking for doing direct connection to the server? Is there any
way to rescue, perhaps making it multi-threaded?

Thanks,
Yubin

Continue reading on narkive:
Loading...