packages feed

ngx-export 0.9.1.0 → 0.9.1.1

raw patch · 3 files changed

+8/−3 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

Changelog.md view
@@ -1,3 +1,7 @@+### 0.9.1.1++- yY handler must be strict against exceptions in safeYYHandler.+ ### 0.9.1.0  - Do not write into service event channel when Nginx is exiting.
NgxExport.hs view
@@ -436,8 +436,9 @@     Ptr (Ptr NgxStrType) -> Ptr CInt ->     Ptr (StablePtr L.ByteString) -> IO CUInt yY f x (I n) p pl spd = do-    (s, (r, _)) <- safeYYHandler $-        flip (,) (0, False) . f <$> B.unsafePackCStringLen (x, n)+    (s, (r, _)) <- safeYYHandler $ do+        s <- f <$> B.unsafePackCStringLen (x, n)+        fmap (flip (,) (0, False)) $ return $! s     pokeLazyByteString s p pl spd     return r 
ngx-export.cabal view
@@ -1,5 +1,5 @@ name:                       ngx-export-version:                    0.9.1.0+version:                    0.9.1.1 synopsis:                   Helper module for Nginx haskell module description:                Helper module for         <http://github.com/lyokha/nginx-haskell-module Nginx haskell module>