Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Add support for persistent connections #35

Open
mkonecny opened this issue Nov 17, 2014 · 1 comment
Open

Add support for persistent connections #35

mkonecny opened this issue Nov 17, 2014 · 1 comment

Comments

@mkonecny
Copy link

APNS appears to close the connection after each message (or group of messages). From the APNS documentation:

Keep your connections with APNs open across multiple notifications; don’t repeatedly open and close connections. APNs treats rapid connection and disconnection as a denial-of-service attack. You should leave a connection open unless you know it will be idle for an extended period of time—for example, if you only send notifications to your users once a day it is ok to use a new connection each day.

In the worst case scenario, I could see Apple revoking your push certificate should your volume increase to the point they consider it a DDOS attack.

@ghost
Copy link

ghost commented Jul 4, 2015

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant