HarunBahcel / apns-sharp

Automatically exported from code.google.com/p/apns-sharp
0 stars 0 forks source link

Connection is made for every push notification #15

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In the ensureConnected() function there will be created a new connection every 
time. This is not 
what Apple wants. You need to use an open connection and send all messages at 
once. When you 
check if the connection is open and then use that connection, only one message 
is sent.

The problem is in the buffer length. I have a patch for this, but don't know 
how I can submit this.

Original issue reported on code.google.com by tverb...@gmail.com on 3 Dec 2009 at 9:00

GoogleCodeExporter commented 8 years ago
This is now fixed.

Original comment by jond...@gmail.com on 22 Dec 2009 at 5:41