[haiku-commits] Change in haiku[master]: add-ons/mail_daemon: IMAP: limit UIDs in UID FETCH

  • From: Gerrit <review@xxxxxxxxxxxxxxxxxxx>
  • To: waddlesplash <waddlesplash@xxxxxxxxx>, haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 11 Oct 2018 23:17:03 +0000

From Chris Collins <kuroneko@xxxxxxxxxxxxxxx>:

Chris Collins has uploaded this change for review. ( 
https://review.haiku-os.org/626


Change subject: add-ons/mail_daemon: IMAP: limit UIDs in UID FETCH
......................................................................

add-ons/mail_daemon: IMAP: limit UIDs in UID FETCH

Some IMAP servers (such as dovecot) have hard line length limits for
commands.

The way UID FETCH was being scheduled was creating FETCHes longer than
the maximum length.

Limit these to a reasonable number of UIDs per fetch, such that we have
a hope of success when facing monsterous mailboxes.
---
M src/add-ons/mail_daemon/inbound_protocols/imap/IMAPConnectionWorker.cpp
1 file changed, 21 insertions(+), 6 deletions(-)



  git pull ssh://git.haiku-os.org/haiku refs/changes/26/626/1
--
To view, visit https://review.haiku-os.org/626
To unsubscribe, or for help writing mail filters, visit 
https://review.haiku-os.org/settings

Gerrit-Project: haiku
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8a2184eec1b8fcab6f7914a9b14ad008700b96d1
Gerrit-Change-Number: 626
Gerrit-PatchSet: 1
Gerrit-Owner: Chris Collins <kuroneko@xxxxxxxxxxxxxxx>

Other related posts:

  • » [haiku-commits] Change in haiku[master]: add-ons/mail_daemon: IMAP: limit UIDs in UID FETCH - Gerrit