[horde] Push mail generate a activesync ping?
Samuel Wolf
samuel at sheepflock.de
Wed Feb 5 21:22:33 UTC 2014
Zitat von Michael J Rubinsky <mrubinsk at horde.org>:
> Quoting Samuel Wolf <samuel at sheepflock.de>:
>
>> Hi,
>>
>> I have one device with much more pings in the same time than others.
>> Does push a mail to the device also generate a activesync ping?
>
> This is how it works:
>
> After initial synchronization, clients send a PING request. The PING
> request is a long lived request that remains active until either (1)
> the heartbeat interval times out or (2) a change (such as a new or
> changed email arriving on the IMAP server) was detected on the Horde
> server.
>
> In the (1) case, the server issues a new PING request and waits
> again. Assuming no changes or user-initiated SYNC requests (such as
> manually refreshing the client) you would see only a single PING
> request in the access log every n minutes, where n is the heartbeat
> interval. This can be anywhere between 1 minute or 59 minutes.
>
> In the (2) case, the PING request completes by the server sending a
> response that indicates there are changes, the client requests a
> SYNC (which actually asks for, and transmits any changes), and when
> that completes, it issues a new PING.
>
> In other words, for every new email (really for any type of change
> to any object type), a SYNC is issued, followed by a PING. Put even
> simpler, the more active the account is, the more PING requests you
> will see in the log.
>
> Note: Some clients use a special type of SYNC called a hanging sync
> instead of a PING - in these cases, the SYNC command doubles as a
> PING command so you won't see any PING commands at all.
>
> Hope this clears things up...
Yes, thank you very much.
>
>
> --
> mike
> The Horde Project
> http://www.horde.org
> https://www.facebook.com/hordeproject
> https://www.twitter.com/hordeproject
More information about the horde
mailing list