-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New connection for every payload? #30
Comments
It's actually a requirement. "APNs treats rapid connection and disconnection as a denial-of-service attack." |
Pretty sure this is being worked on via #14 but as of right now isn't there yet. |
So this library has 210 stars, which leads me to believe that it's actually working. But after checking the source code, it seems to blatantly violate one of Apple's rules on fast connection opening - that is, do not repeatedly open and close connections. Violating that rule is a critical bug. This library is useless and no one should use it due to the risk of getting banned by Apple. |
@veegee timehop/apns is perhaps what you seek. |
@willfaught Excellent! Just what I needed, thank you! Nice hat by the way. |
It seems new connection will be created for every payload. I don't know if I am wrong. Is it possible to keep a long live connection?
The text was updated successfully, but these errors were encountered: