njs scripting language
https://nginx.org/en/docs/njs/
njs is a subset of the JavaScript language that allows extending nginx functionality.
njs is created in compliance with ECMAScript 5.1 (strict mode) with some ECMAScript 6 and later extensions.
- Developed at server:http
- Sources inherited from project openSUSE:Factory
-
3
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Backports:SLE-15-SP4:RebuildFactoryCandidates/nginx-module-njs && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
_service | 0000000523 523 Bytes | |
nginx-module-njs-0.8.5.tar.gz | 0000869028 849 KB | |
nginx-module-njs.changes | 0000005714 5.58 KB | |
nginx-module-njs.spec | 0000001642 1.6 KB |
Latest Revision
Ana Guerrero (anag+factory)
accepted
request 1189037
from
Adam Majer (adamm)
(revision 3)
- update to 0.8.5: nginx modules: * Change: r.variables.var, r.requestText, r.responseText, s.variables.var, and the data argument of the s.on() callback with upload or download event types will now convert bytes invalid in UTF-8 encoding into the replacement character. When working with binary data, use r.rawVariables.var, r.requestBuffer, r.responseBuffer, s.rawVariables.var, and the upstream or downstream event type for s.on() instead. * Feature: added timeout argument for add(), set(), and incr() methods of a shared dictionary. * Bugfix: fixed checking for duplicate js_set variables. * Bugfix: fixed request Host header when the port is non-standard. * Bugfix: fixed handling of a zero-length request body in ngx.fetch() and r.subrequest(). * Bugfix: fixed heap-buffer-overflow in Headers.get(). * Bugfix: fixed r.subrequest() error handling. Core: * Feature: added zlib module for QuickJS engine. * Bugfix: fixed zlib.inflate(). * Bugfix: fixed String.prototype.replaceAll() with a zero-length argument. * Bugfix: fixed retval handling after an exception in Array.prototype.toSpliced(), Array.prototype.toReversed(), Array.prototype.toSorted(). * Bugfix: fixed RegExp.prototype[@@replace]() with replacements containing $', $` and strings with Unicode characters. * Bugfix: fixed a one-byte overread in decodeURI() and decodeURIComponent(). * Bugfix: fixed tracking of argument scope. * Bugfix: fixed integer overflow in Date.parse(). Changes with njs 0.8.4 nginx modules: * Feature: the Server header for outgoing header can be set. * Improvement: validating URI and args arguments in r.subrequest().
Comments 0