cql-io 1.1.0 → 1.1.1
raw patch · 3 files changed
+7/−7 lines, 3 filesdep ~networkPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: network
API changes (from Hackage documentation)
Files
- CHANGELOG +4/−0
- cql-io.cabal +1/−1
- src/lib/Database/CQL/IO/Connection/Socket.hs +2/−6
CHANGELOG view
@@ -1,3 +1,7 @@+1.1.1+-----+- Compatibility with `network >= 3`.+ 1.1.0 ----- - Improve configuration of retry settings and refactor exceptions
cql-io.cabal view
@@ -1,5 +1,5 @@ name: cql-io-version: 1.1.0+version: 1.1.1 synopsis: Cassandra CQL client. license: MPL-2.0 license-file: LICENSE
src/lib/Database/CQL/IO/Connection/Socket.hs view
@@ -32,7 +32,6 @@ import Database.CQL.IO.Cluster.Host import Database.CQL.IO.Exception (ConnectionError (..)) import Database.CQL.IO.Timeouts (Milliseconds (..))-import Foreign.C.Types (CInt (..)) import Network.Socket (HostName, PortNumber, SockAddr (..), ShutdownCmd (..)) import Network.Socket (Family (..), AddrInfo (..), AddrInfoFlag (..)) import Network.Socket.ByteString.Lazy (sendAll)@@ -49,11 +48,8 @@ data Socket = Stream !S.Socket | Tls !S.Socket !SSL instance Show Socket where- show s = show $ case s of- Stream x -> fd x- Tls x _ -> fd x- where- fd x = let CInt n = S.fdSocket x in n+ show (Stream s) = show s+ show (Tls s _) = show s resolve :: HostName -> PortNumber -> IO [InetAddr] resolve h p = do