I am working on a new Apple Push Notification server using node.js. I am having issues with node not emitting the close event on a TLS SecureStream after getting an EPIPE error event. Has anyone else had this happen? It appears to happen after I do a lot of reconnects back to apple after generating invalid device id's. It does not happen each time.
How should I force it to close? I am doing a hack that will schedule a timer to fire 250 ms after the ERROR event and then call the connection.destroy() method. Is there a better way to handle this? TIA Garry -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
