Export from Foreign.ForeignPtr deprecated as of GHC 7.5
…ationMode are now instances of Typeable.
…ffer, according to the OpenSSL docs
- write/tryWrite should throw EPIPE for cleanly-closed connections rather than EOF. - shutdown/tryShutdown shouldn't throw an exception when a remote peer sends us a "close notify" alert and closes the connection without waiting for our reply. - ProtocolError should contain an error message string.
…of David Terei.
Apart from being the right way to raise an error in IO, it prevents a nasty "PAP object entered!" runtime crash I encountered using GHC HEAD.