- Check for timeout before checking for fd ready. This might help prevent certain tcp interactions from running too long.
- Update package metadata.
- Add `receiveFromInterruptible"
- Receive functions now fail with
EEOI
when the peer shuts down. This is a considerable deviation from POSIX, which returns a length of zero when the peer shuts down. It is much easier to write code using "receive" functions when a shutdown is treated as an exception in this way.
- Import
ByteArray
fromData.Primitive
instead ofData.Array.Byte
to fix build failure on GHC 9.2.
- Add interruptible send and receive functions to give users control over when to give to abandon communicating.
- Add these functions to
Network.Unexceptional
:connect
,connectInterruptible
,socket
.
- Add Network.Unexceptional module with
accept_
. - Add Network.Unexceptional.ByteString module
- First version.