Hi,

On 01/06/04 16:49:42 +0000 Richard Bang <[EMAIL PROTECTED]> wrote:
Hi,

Rather than trying to have the server keep a record of what the client
knows about so that it can second guess what the client might ask for,
surely we should just tell the clients to sync up.

And I don't know what's wrong with
SEARCH 1:* UNSEEN
* SEARCH 1,2,3,4,5,6,7,8,9
* EXPUNGE 5
OK SEARCH COMPLETED

because of rfc3501 5.5 says


  The client MAY send another command without waiting for the
  completion result response of a command,

which implies that the client can prepare the next command without
waiting for the result of the first.

So the server cannot send an expunge response until it can be sure
the client has not queued up loads of fetches for sequence
numbers that might have been invalidated.

Such a sync point can be forced by the client by sending noops more often
or entering an explicit idle state with the idle extension.

Greetings
ck

--
Christian Kratzer                       [EMAIL PROTECTED]
CK Software GmbH                        http://www.cksoft.de/
Phone: +49 7452 889 135                 Fax: +49 7452 889 136



Reply via email to