iPhone推送通知连接频率
苹果的文档指出
您还应该跨多个通知保留与 APN 的连接。 (APN 可能会将快速、重复地建立和断开的连接视为拒绝服务攻击。)
这在实践中意味着什么?您多久可以打开和关闭连接?即使您没有任何内容可发送,您是否应该始终保持 APN 和服务器之间的连接?
Apple's documentation states
You should also retain connections with APNs across multiple notifications. (APNs may consider connections that are rapidly and repeatedly established and torn down as a denial-of-service attack.)
What does this mean in practice? How often can you open and close connections? Are you supposed to always maintain a connection between the APNs and server, even if you have nothing to send it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论