djacobs / PyAPNs

Python library for interacting with the Apple Push Notification service (APNs)
http://pypi.python.org/pypi/apns/
MIT License
1.22k stars 374 forks source link

supports error response from gateway server #51

Closed najeira closed 10 years ago

najeira commented 10 years ago

Apple gateway server sometime returns error. I added reading that response and raise error. This fix allows users of this library to retry.

najeira commented 10 years ago

I'm sorry. I got error "ValueError: filedescriptor out of range in select" with long execution. I will fix that.