Re: [Imap-protocol] Is it okay/common for servers to i gnore commands sent before the greeting? (gmail seems to?)
Jan Kundrát <[email protected]>
| Newsgroups | gmane.mail.imap.general |
|---|---|
| Message-ID | <[email protected]> |
On Friday, 7 March 2014 16:05:48 CEST, Andrew Sutherland wrote: > We're seeing a problem in the Firefox OS Gaia e-mail app where > if we manage to send our "A1 CAPABILITY" request to the gmail > IMAP server (initial-TLS imaps/993) before it sends its > greeting, it acts like it never hears the request. Our > not-so-clever state machine hangs until the connection times > out. Interesting. What my client is doing is patiently waiting for the initial response and checking whether the capability list is passed in there as a response code. The same for the tagged OK for the STARTTLS. I am wondering whether you are deliberately trading bandwidth for latency, and whether you have some measurements showing that sending the CAPABILITY speculatively is beneficial. This is something which I haven't thought about, and if you have already measured this, I would like to, er, "be isnpired" :) and do it this way as well. With kind regards, Jan -- Trojitá, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/ _______________________________________________ Imap-protocol mailing list [email protected] http://mailman13.u.washington.edu/mailman/listinfo/imap-protocol