Re: [Imap-protocol] Working around the evils of LITERAL+
Timo Sirainen <[email protected]>
| Newsgroups | gmane.mail.imap.general |
|---|---|
| Message-ID | <1364388724.13923.97.camel@innu> |
On Wed, 2013-03-27 at 21:19 +0900, Takeshi Chiba wrote:
> It seems like not general problem but gmail :-)
> (There are many special clients for gmail such as gmail filesystem)
>
> If I were gmail developper, eat the data *slowly*.
>
> C: tag APPEND INBOX {1000000+}
> S: tag NO quota limit exceeded
> C: From: [email protected]
> S: From: BAD unknown command
That would be a broken server. The server has no choice but to eat away
the data.
> (server detect bad client by several invalid command, so sleep 10 seconds)
Now, the server could of course start sleeping a bit after sending the
NO reply. If some client were able to parse the NO reply it would
realize that it should disconnect instead of waste bandwidth by sending
the whole 1 MB of data. So if server sees a literal e.g. >= 1 MB, it
could sleep(10) + disconnect. But I don't know how helpful that is with
the current clients, probably not very.
_______________________________________________
Imap-protocol mailing list
[email protected]
http://mailman2.u.washington.edu/mailman/listinfo/imap-protocol