about summary refs log tree commit homepage
path: root/lib/PublicInbox/IMAPdeflate.pm
DateCommit message (Collapse)
2020-06-13imap: split ->logged_in attribute into a separate class
This is one boolean attribute not worth wasting space for. With 20000 sockets, this reduces RSS by around 5% at a glance, and locked hashes doesn't do us much good when clients use compression, anyways.
2020-06-13imap: fix pipelining with async git
Since IMAP yields control to GitAsyncCat, IMAP->event_step may be invoked with {long_cb} still active. We must be sure to bail out of IMAP->event_step if that happens and continue to let GitAsyncCat drive IMAP. This also improves fairness by never processing more than one request per ->event_step.
2020-06-13*deflate: drop invalid comment about rbuf
It must be a scalar reference, unlike ->write
2020-06-13preliminary imap server implementation
It shares a bit of code with NNTP. It's copy+pasted for now since this provides new ground to experiment with APIs for dealing with slow storage and many inboxes.