anachronistic/apns — pull request #1 by rem7 (2013-10-05 17:22:42+00:00)
Title: Closing connection

Connections were being left open and our server was running out of open files.... All connections open were going to port 2195. So I changed the ConnectAndWrite to defer close the conn and tlsConn and that did it.

I see you have a select blocking the callback waiting for timeout or failure so I assumed a defer would be ok to close the connections at the end.

Thoughts?