Skip to content

Releases: lyokha/nginx-haskell-module

nginx-haskell-module version 1.9.5

16 Aug 13:34
Compare
Choose a tag to compare
  • 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

20 Jun 16:09
Compare
Choose a tag to compare

Fixed handling of SIGINT in single-process, not daemonized Nginx.

nginx-haskell-module version 1.9.3

25 May 14:15
Compare
Choose a tag to compare

Bugfix / improvement: restore SIGQUIT handler after hs_init().

nginx-haskell-module version 1.9.2, ngx-export version 1.4.1

13 Apr 15:40
Compare
Choose a tag to compare
  • 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

20 Mar 12:40
Compare
Choose a tag to compare
  • 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

12 Mar 14:56
Compare
Choose a tag to compare

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

28 Feb 10:22
Compare
Choose a tag to compare

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

22 Feb 10:35
Compare
Choose a tag to compare

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

19 Feb 16:13
Compare
Choose a tag to compare

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

19 Feb 10:26
Compare
Choose a tag to compare
  • 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.