snap-server 0.9.5.0 → 0.9.5.1
raw patch · 2 files changed
+3/−2 lines, 2 filesdep ~attoparsecdep ~timePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: attoparsec, time
API changes (from Hackage documentation)
Files
snap-server.cabal view
@@ -1,5 +1,5 @@ name: snap-server-version: 0.9.5.0+version: 0.9.5.1 synopsis: A fast, iteratee-based, epoll-enabled web server for the Snap Framework description: Snap is a simple and fast web development framework and server written in
src/Snap/Internal/Http/Server/Address.hs view
@@ -55,7 +55,8 @@ , SockAddrInet6 (fromIntegral p) 0 iN6ADDR_ANY 0 ) getSockAddr p s = do- let hints = defaultHints { addrFlags = [AI_NUMERICSERV] }+ let hints = defaultHints { addrFlags = [AI_NUMERICSERV]+ , addrSocketType = Stream } ais <- getAddrInfo (Just hints) (Just $ map w2c $ S.unpack s) (Just $ show p) if null ais