packages feed

ngx-export 1.2.2 → 1.3.0

raw patch · 3 files changed

+11/−1 lines, 3 files

Files

Changelog.md view
@@ -1,3 +1,7 @@+### 1.3.0++- Export function *ngxExportInstallSignalHandler* to ignore SIGINT.+ ### 1.2.2  - Returning a special error code (*2*) on exception *ServiceHookInterrupt*.
NgxExport.hs view
@@ -54,6 +54,7 @@ import           System.IO.Error import           System.Posix.IO import           System.Posix.Types+import           System.Posix.Signals hiding (Handler) import           System.Posix.Internals import           Control.Monad import           Control.Monad.Loops@@ -741,6 +742,11 @@         safe_c_fcntl_lock fd 7 p_flock  {- SPLICE: END -}++foreign export ccall ngxExportInstallSignalHandler :: IO ()+ngxExportInstallSignalHandler :: IO ()+ngxExportInstallSignalHandler = void $+    installHandler keyboardSignal Ignore Nothing  foreign export ccall ngxExportTerminateTask ::     StablePtr (Async ()) -> IO ()
ngx-export.cabal view
@@ -1,5 +1,5 @@ name:                       ngx-export-version:                    1.2.2+version:                    1.3.0 synopsis:                   Helper module for Nginx haskell module description:                Helper module for         <http://github.com/lyokha/nginx-haskell-module Nginx haskell module>