Re: [Dovecot] Clients hang because imap-login discards post-login commands

2008-05-21 Thread Timo Sirainen
On May 21, 2008, at 11:41 PM, Mike Abbott wrote: Some of my IMAP clients hang when connecting to Dovecot 1.1.rc5. I believe the problem is that imap-login reads eagerly rather than sparingly. If a client sends a login user password b select Inbox all at once, without waiting for the login

Re: [Dovecot] Clients hang because imap-login discards post-login commands

2008-05-21 Thread Curtis Maloney
Mike Abbott wrote: So it appears that both the client and Dovecot may be in violation, depending on how you define "ambiguity." The RFC does not explicitly define whether login causes an ambiguity, but I personally believe that login does "affect the results of other commands" (the login may f

[Dovecot] Clients hang because imap-login discards post-login commands

2008-05-21 Thread Mike Abbott
Some of my IMAP clients hang when connecting to Dovecot 1.1.rc5. I believe the problem is that imap-login reads eagerly rather than sparingly. If a client sends a login user password b select Inbox all at once, without waiting for the login reply before sending the select, imap-login eats