bert 1.2.2 → 1.2.2.1
raw patch · 4 files changed
+18/−5 lines, 4 filesdep ~network
Dependency ranges changed: network
Files
- CHANGELOG.md +5/−0
- README.md +9/−1
- bert.cabal +2/−2
- src/Network/BERT/Transport.hs +2/−2
CHANGELOG.md view
@@ -1,3 +1,8 @@+Version 1.2.2.1+---------------++Fix build on GHC 7.4+ Version 1.2.2 ---------------
README.md view
@@ -68,7 +68,7 @@ main = do s <- tcpServer 8080- serve t dispatch+ serve s dispatch dispatch "calc" "add" [IntTerm a, IntTerm b] = return $ Success $ IntTerm (a + b)@@ -76,3 +76,11 @@ return NoSuchFunction dispatch _ _ _ = return NoSuchModule++Maintainers+-----------++[Roman Cheplyaka](https://github.com/feuerbach) is the primary maintainer.++[Oleksandr Manzyuk](https://github.com/manzyuk) is the backup maintainer. Please+get in touch with him if the primary maintainer cannot be reached.
bert.cabal view
@@ -1,6 +1,6 @@ cabal-version: >= 1.16 name: bert-version: 1.2.2+version: 1.2.2.1 build-type: Simple license: BSD3 license-file: LICENSE@@ -25,7 +25,7 @@ hs-source-dirs: src build-depends: base == 4.*, containers >= 0.2, bytestring >= 0.9, binary >= 0.5, mtl >= 1.1,- network >= 2.2, time >= 1.1,+ network >= 2.3, time >= 1.1, parsec >= 2.0, conduit >= 1.0, network-conduit >= 1.0,
src/Network/BERT/Transport.hs view
@@ -74,7 +74,7 @@ sourceSocket sock $= conduitDecode $$ (runReaderT session (tcpSendPacketFn tcp))- closeConnection (TCP sock) = close sock+ closeConnection (TCP sock) = sClose sock -- | Establish a connection to the TCP server and return the resulting -- transport. It can be used to make multiple requests.@@ -102,7 +102,7 @@ setSocketOption clientsock NoDelay 1 handle $ TCP clientsock - cleanup (TCPServer sock) = close sock+ cleanup (TCPServer sock) = sClose sock -- | A simple 'TCPServer' constructor, listens on all local interfaces. --