MBOX-Line: From mrc+imap at panda.com  Mon Oct  4 18:08:06 2010
To: imap-protocol@u.washington.edu
From: Mark Crispin <mrc+imap@panda.com>
Date: Fri Jun  8 12:34:45 2018
Subject: [Imap-protocol] Fwd: iOS IMAP IDLE (Standard "Push Email")
	Deficiency, Explanation?
In-Reply-To: <959754EE-4A2A-4DBD-8A63-6A317532C302@iki.fi>
References: <352410DE-19D8-4EE4-8741-AB82741D7A18@sabahattin-gucukoglu.com>
	<4CAA0F5C.7030009@lists.grepular.com>
	<alpine.OSX.2.00.1010041034520.392@hsinghsing.panda.com>
	<7D32DBF6-2ECC-4854-85A8-84261D828ED2@sabahattin-gucukoglu.com>
	<11166.1286223088.054596@puncture>
	<alpine.OSX.2.00.1010041338040.392@hsinghsing.panda.com>
	<11166.1286226226.318772@puncture>
	<alpine.OSX.2.00.1010041405460.392@hsinghsing.panda.com>
	<959754EE-4A2A-4DBD-8A63-6A317532C302@iki.fi>
Message-ID: <alpine.OSX.2.00.1010041759160.392@hsinghsing.panda.com>

On Tue, 5 Oct 2010, Timo Sirainen wrote:
> So nowadays
> my server never disconnects clients on IDLE because they haven't sent
> anything. That fixes the whole thing. I still send "* OK Still here"
> events every 2 minutes, so connections that are actually gone will get
> disconnected pretty quickly.

Be careful.  If you don't get a disconnect event, you'll presently end up
filling the TCP window and then block.

> This doesn't help clients that use one IDLEing connection that does
> nothing but IDLE, and use another connection for actually fetching the
> new mails.

Clients actually do this?  Deep sigh.  Doesn't anyone have a clue as to
how to write software any more?  Or "if it ain't in the Java cookbook, it
can't be done"???

http://www.generationaldynamics.com/cgi-bin/D.PL?d=ww2010.i.java080701

:(

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.

