scotchadmins / javapns

Automatically exported from code.google.com/p/javapns
0 stars 0 forks source link

Connection Life span #181

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This really isn't an issue, but a question.  On the comments forum, it said to 
post questions here, so I am.

What's the duration or lifetime of the connection to APNS? They, Apple, suggest 
that you keep the connection open because opening and closing too frequently 
will be treated as a DoS attack. So, does this library reuse an already open 
connection or does it make one for each push request? I couldn't find any 
documentation as to such.

Thanks!

Original issue reported on code.google.com by quackerj...@gmail.com on 29 Apr 2013 at 12:54

GoogleCodeExporter commented 8 years ago
The library reuses sockets where possible, specifically to address Apple's 
warning you mentioned. 

Original comment by sype...@gmail.com on 8 May 2013 at 9:01