-
Remover upper bound on all dependencies except
base
. -
Fixed internal error handling in server-side functions.
-
Re-export
MonadSafe
.
- Raise upper-bound dependency on
transformers
andpipes
.
-
The various
fromServe
andtoServe*
pipes fromPipes.Network.TCP.Safe
now close the listening socket immediately after accepting a first connection. -
Re-export
sendLazy
,sendMany
andcloseSock
. -
Add
to{Socket,SocketTimeout,Serve,Connect}{Lazy,Many}
. -
Fix issue #29 where
fromSocketTimeout
andfromSocketTimeoutN
would loop forever.
-
Bump
network-simple
,transformers
andpipes-safe
upper bounds. -
Remove
Base m ~ IO
constraints fromPipes.Network.TCP.Safe
, as not all of them were removed in 0.6.1.
- Dependency bumps (upper bounds).
- Remove the
Base m ~ IO
constraint fromPipes.Network.TCP.Safe
-
Significantly upgraded the API and renamed functions to play well with pipes-4.0.0, pipes-safe-2.0.0 and network-simple-0.3.0.
-
Throw
IOError
inIO
in order to report timeout errors. Delete theTimeout
data-type.
-
Re-export
Network.Socket.withSocketsDo
. -
Use TCP
send
andrecv
as eported by network-simple-0.2.1.0.
- Removed
Control.Proxy.TCP.Sync
andControl.Proxy.TCP.Safe.Sync
.
- FIX:
acceptFork
now properly closes the connection socket, even in case of asynchronous exceptions.
- Do not handle “Broken Pipe” errors on the
*Write*D
proxies anymore. As as a result, those proxies run forever and have a polymorphic return value, which makes this release binary compatible with 0.2.0.0, but not with 0.3.0.0.
-
Quietly stop writing or reading bytes from a TCP socket if a “Broken Pipe” error happens, indicating that the remote end already closed the connection. Previously, a
ResourceVanished
exception was thrown. -
All the
*Write*D
proxies now return()
if the remote end closed the connection.
-
Depend on network-simple 0.2
-
In both modules
Control.Proxy.TCP
andControl.Proxy.TCP.Safe
:serveFork
was renamed toserve
and the previous function namedserve
was removed.
- Split many of the non-pipes-related TCP utilities to the own
network-simple
package. - Depend on
network-simple
and re-export its functions.
- Dependency bumps.
- New backwards incompatible API
- Based on pipes 3.1
- Based on pipes-core.