Skip to content
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

Open
libnat opened this issue Jan 27, 2015 · 5 comments
Open

New connection for every payload? #30

libnat opened this issue Jan 27, 2015 · 5 comments

Comments

@libnat
Copy link

libnat commented Jan 27, 2015

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?

@themartorana
Copy link

It's actually a requirement.

"APNs treats rapid connection and disconnection as a denial-of-service attack."

@joekarl
Copy link

joekarl commented Feb 14, 2015

Pretty sure this is being worked on via #14 but as of right now isn't there yet.

@veegee
Copy link

veegee commented Apr 6, 2015

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.

@willfaught
Copy link

@veegee timehop/apns is perhaps what you seek.

@veegee
Copy link

veegee commented Apr 6, 2015

@willfaught Excellent! Just what I needed, thank you! Nice hat by the way.

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

No branches or pull requests

5 participants