Commit Graph

4 Commits

Author SHA1 Message Date
link2xt
acea50ab09 Move common connection code to a new net module 2023-01-01 15:49:19 +00:00
link2xt
a8dad96d87 Set TCP_NODELAY and do our own buffering on IMAP sockets
This way flush() issued by the IMAP client actually
results in sending the command over the network immediately.
Without TCP_NODELAY, the command may be buffered in the socket buffer,
expecting more write() calls.
2023-01-01 15:49:19 +00:00
link2xt
bccd79b6be Set read/write timeouts for IMAP SOCKS5 streams 2022-12-10 15:29:02 +00:00
link2xt
109a27c9ef Move Socks5Config to a separate module 2022-12-10 15:29:02 +00:00