Releases: lyokha/nginx-haskell-module
Releases · lyokha/nginx-haskell-module
nginx-haskell-module version 1.9.5
- Async tasks declarations are now allowed on the server configuration level.
- Ordering rule of async tasks was extended across hierarchies of levels (i.e. within a single hierarchy, tasks from server clause run before tasks from location clause, while tasks from location-if clause run latest).
nginx-haskell-module version 1.9.4
Fixed handling of SIGINT
in single-process, not daemonized Nginx.
nginx-haskell-module version 1.9.3
Bugfix / improvement: restore SIGQUIT
handler after hs_init()
.
nginx-haskell-module version 1.9.2, ngx-export version 1.4.1
- Enable service update hooks in normal per-worker services for using them from the Haskell part as C plugins.
- Export several opaque pointers to Nginx global objects from the Haskell module for using them in C plugins.
- Minor bugs and improvements.
nginx-haskell-module version 1.9.1
- Bug fixes
- Added missing call of ngx_http_discard_request_body() in the service hook content handler.
- Improvements
- Starting of the async content handler's task was moved from the access phase to the content handler itself (using the r->main->count trick to keep it asynchronous).
nginx-haskell-module version 1.9.0
New feature: a new configuration variable $_r_ptr contains a serialized pointer to the Nginx request object which allows for running low-level C plugins from Haskell handlers. Find an example in updated documentation.
nginx-haskell-module version 1.8.5
Miscellaneous improvements at loading stage.
- Do not load worker processes when there are async tasks in the configuration, but the Haskell library has been compiled without thread support.
- Notice in the log when compile mode flags and the Haskell source code are not going to be used in directive haskell load.
nginx-haskell-module version 1.8.4
Implemented update hooks for shared services as a better alternative to update variables.
nginx-haskell-module version 1.8.3, ngx-export version 1.3.0
Bugfix: ignore signal SIGINT sent to a worker process, because this signal makes the worker defunct by interruption of the main Haskell thread. Sending SIGINT to the master process works as expected.
nginx-haskell-module version 1.8.2, ngx-export version 1.2.2
- Minor bugfixes and improvements in service hooks implementation.
- Disable module in presence of async tasks and services when event engine is not epoll or kqueue.