[Standards] Push. Was Re: Council Minutes 2017-05-24
daniel at gultsch.de
Wed May 24 20:11:04 UTC 2017
2017-05-24 22:07 GMT+02:00 Florian Schmaus <flo at geekplace.eu>:
> On 24.05.2017 21:34, Daniel Gultsch wrote:
>> We also came to the conclusion that it is desirable to actively close
>> the TCP connection if an <r/> from the server remains unanswered after
>> ~30 seconds or so. This is due to some platforms (read Android) not
>> allowing us to properly close the connection ourself.
> Care to elaborate on the "properly close the connection" part on
> Android? What is Android preventing here?
When doze kicks in it doesn't RST the connection but just drops it. An
App also doesn't get any notification of doze kicking in. (AFAIK)
This means a server would never send out any push notifications if we
wouldn't have the 30s-after-<r/> rule.
More information about the Standards