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.
This commit is contained in:
link2xt
2022-12-30 12:46:28 +00:00
parent 45462fb47e
commit a8dad96d87
4 changed files with 36 additions and 6 deletions

View File

@@ -9,6 +9,7 @@
- cargo: bump quick-xml from 0.23.0 to 0.26.0 #3722
- Add fuzzing tests #3853
- Add mappings for some file types to Viewtype / MIME type #3881
- Set `TCP_NODELAY` on IMAP sockets #3883
### API-Changes
- jsonrpc: add python API for webxdc updates #3872