Skip to content

Releases: lyokha/nginx-haskell-module

nginx-haskell-module version 1.3, ngx-export version 0.6.0.0

11 Aug 14:13
Compare
Choose a tag to compare

Lazy bytestrings contents are no longer copied when passed to nginx. Instead, they are passed directly along with a StablePtr to original bytestrings. This must improve performance and lower memory consumption for content handlers with large outputs.

Bugfixes on the C side:

  • Using correct types for data passed to Haskell handlers via pointers to poke.
  • Using ref-counted copies of service data when accessed from request handlers.
  • Other misc fixes.

nginx-haskell-module version 1.2.1

17 Jul 14:58
Compare
Choose a tag to compare

Bugfixes:

  • Do not re-assign variable handlers if they have already been assigned.
  • Call ngx_del_event() in all cases explicitly.

nginx-haskell-module version 1.2, ngx-export version 0.5.0.1

10 Jul 14:11
Compare
Choose a tag to compare

All Haskell handlers are exception safe since now!

  • All synchronous variable and content handlers were made exception safe.
  • Bugfix: evaluate results of IO handlers strictly to make sure that all exceptions will be caught.

nginx-haskell-module version 1.1.1, ngx-export version 0.4.1.0

04 Jul 14:47
Compare
Choose a tag to compare

Bugfix: keep calling fdWriteBuf until it writes complete buffer.

nginx-haskell-module version 1.1, ngx-export version 0.4.0.0

28 Jun 12:09
Compare
Choose a tag to compare

Using efficient eventfd channels in async handlers instead of pipes when possible.

nginx-haskell-module version 1.0, ngx-export version 0.3.2.1

30 May 12:10
Compare
Choose a tag to compare

Recent features include:

  1. Asynchronous client request body handlers.
  2. API versioning between C and Haskell code to ensure compatibility.