…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.
Ignore-this: 670e96e3a726c9de091eb8547b486e13 darcs-hash:20110818092440-62b54-9578e5e44d0d3794b88f15e5e321c861d8e99815.gz