Skip to content

nginx-haskell-module version 2.4.0, ngx-export version 1.6.3

Compare
Choose a tag to compare
@lyokha lyokha released this 16 Jan 12:13
· 564 commits to master since this release
  • Added API exceptions RestartWorkerProcess and FinalizeHTTPRequest. The latter can be used from Haskell asynchronous variable handlers to quickly finalize the HTTP request.
  • A minor improvement in the content handler: do not send HTTP header Content-Type when the response does not contain a body.
  • Package ngx-export-tools version 0.4.3.0. Functions terminateWorkerProcess, restartWorkerProcess, and finalizeHTTPRequest now make use of the corresponding API exceptions from package ngx-export 1.6.3, and therefore are effectively restricted in the sense of calling context: a worker process can be terminated or restarted only from a Haskell service, while an HTTP request can be finalized only from a Haskell asynchronous variable handler.