Re: nginx-1.11.0

2016-05-25 Thread Dmitry Volyntsev
On 25.05.2016 12:01, Alexey Genus wrote: > *) Feature: the "map" directive supports combinations of multiple variables as resulting values. Does this mean this ticket can be resolved? https://trac.nginx.org/nginx/ticket/663 Yes, it is resolved.

Re: nginScript question

2017-07-13 Thread Dmitry Volyntsev
On 12.07.2017 23:57, aledbf wrote: Hi, It is possible to make a HTTP request with nginScript? Hi, Unfortunately, this is not possible so far. But, we are going to add such functionality in the future. You can find what is currently possible here

Re: Where can I find nginScript shell

2018-01-09 Thread Dmitry Volyntsev
On 07.01.2018 17:06, kimown wrote: I find the associated code, thanks for your help, but I'm not familiar with how to building the nginScript shell, I think it's better add instruction in README.Also, nginScript is really really awesome. It is available as a part of nginx official packages.

Re: sub_filter not working on JSON file

2018-08-02 Thread Dmitry Volyntsev
On 02.08.2018 16:46, Friscia, Michael wrote: I’m trying to figure out why my sub_filter is not working on a JSON file. I do have application/json and text/json listed in the sub_filter_types but the simple string replace is not happening. It causes me to think that for whatever reason, Nginx

Re: How to install njs after building from sources

2018-08-08 Thread Dmitry Volyntsev
On 08.08.2018 17:06, Mustafa Aldemir wrote: Hello, I built NGINX and njs from sources. Now I have njs executable and some static object files under ~/njs/build. How should I install njs or configure NGINX to run with njs? Hi Mustafa, Please, use the instruction from here

Re: redirect based on file content

2018-07-16 Thread Dmitry Volyntsev
You can try to use njs here: http://nginx.org/en/docs/http/ngx_http_js_module.html http://nginx.org/en/docs/njs/njs_api.html#http - more about r object. nginx.conf: http { js_include http.njs; ... server { listen 9000; location / {

Re: nginScript question

2018-04-10 Thread Dmitry Volyntsev
On 13.07.2017 18:14, aledbf wrote: Thanks! Hi, I am glad to inform you that since njs-0.2.0 it is possible to create arbitrary http subrequests from js_content phase. Here you can find the subrequest API description: http://hg.nginx.org/njs/rev/750f7c6f071c Here you can find some

Re: unknown directive "js_include"

2018-04-12 Thread Dmitry Volyntsev
On 12.04.2018 17:17, Dineshkumar wrote: Hi All, Im getting the following error when using nginscript module in RHEL 5 server. nginx: [emerg] unknown directive "js_include" in /etc/nginx/nginx.conf:13 Installed the nginx using the following RPM

Re: unknown directive "js_include"

2018-04-12 Thread Dmitry Volyntsev
On 12.04.2018 17:28, Dineshkumar wrote: Hi Dmitry, The module has been loaded in the nginx.conf file using the following load_module modules/ngx_http_js_module.so; and the compile module files are available in the path as well. Please note that RHEL5 packets are outdated (js_include was

Re: nginScript question

2018-04-18 Thread Dmitry Volyntsev
On 17.04.2018 21:30, djcza...@gmail.com wrote: Is there a roadmap for nginScript There is. The short term preliminary plan is: - stream integration refactoring to match the way it done in http - access to shared memory storage - base64 encode

njs 0.2.5 release

2018-10-30 Thread Dmitry Volyntsev
Hello, I'm glad to announce a new release of NGINX JavaScript module (njs). This release proceeds to extend the coverage of ECMAScript 5.1 specification. - arguments object is added. So, it is possible to write functions which can take the arbitrary number of arguments as well as

Re: Variable scope in javascript module

2018-10-30 Thread Dmitry Volyntsev
On 30.10.2018 19:58, alweiss wrote: Here is a sample that works with Java but not with njs : function my() { resp = "Start"; console.log ('Initial resp is ' + resp); function done() { resp += "AndContinue"; console.log('In loop resp is ' + resp) }

Re: large request body in njs

2018-10-30 Thread Dmitry Volyntsev
> On 29 Oct 2018, at 23:44, Jonathan Esterhazy > wrote: > > Hello! > > I am trying to use njs (ngx_http_js_module) to modify POSTed request data > before sending to an upstream api. Using the req.requestBody function works > fine for small requests, but for larger ones causes this error: >

Re: Variable scope in javascript module

2018-10-26 Thread Dmitry Volyntsev
Hi Alex, Can you, please, share your code? You can also try to play with njs code in the command line interface. For example: njs interactive njs 0.2.3 v. -> the properties and prototype methods of v. type console.help() for more information >>function my(){var g = 'init'; console.log(g);

Re: Nginx NJS fs.writeFileSync is atomic writing and race condition prevention ?

2018-10-19 Thread Dmitry Volyntsev
On 19.10.2018 06:33, HENG wrote: Hello: I am new to Nginx NJS, and I want to write a website with NJS. I want to write a simple JSON database with NJS fs.writeFileSync ,just like Node.js LowDB. but I have no idea . Does NJS fs.writeFileSync is atomic writing and race condition prevention

njs-0.2.7

2018-12-25 Thread Dmitry Volyntsev
Hello, I'm glad to announce a new release of NGINX JavaScript module (njs). This release proceeds to extend the coverage of ECMAScript specifications. - Added support for ES6 rest parameters syntax. Thanks to Alexander Pyshchev. : > var add = function(prev, curr) { return prev + curr } :

njs-0.2.6

2018-11-27 Thread Dmitry Volyntsev
Hello, I'm glad to announce a new release of NGINX JavaScript module (njs). This release proceeds to extend the coverage of ECMAScript 5.1 specification. - Added initial support for extending the existing prototypes. So, generic functions can be added to extend functionality of built-in

Re: njs and subrequests

2018-11-19 Thread Dmitry Volyntsev
Hi Antoine, >Is there any plan to have subrequest from ngx_http_js_module support > external URLs ? Nothing prevents you from making subrequests to external URLs. https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_pass

Re: Nginscript

2018-11-28 Thread Dmitry Volyntsev
On 28.11.2018 3:21, chadhasumit13 wrote: Hi, I intend to generate a unique id (by making use of npm uuid ) and make an external call to an HTTP end-point, whenever a new call is received by NGINX. Is it possible to use nginscript for this purpose? If yes, could you please route me to a good

njs-0.3.0

2019-03-26 Thread Dmitry Volyntsev
Hello, I'm glad to announce a new release of NGINX JavaScript module (njs). This release proceeds to extend the coverage of ECMAScript specifications and modules functionality. - Added initial ES6 modules support: : // module.js : function sum(a, b) {return a + b} : export default {sum}; : //

njs-0.2.8

2019-02-26 Thread Dmitry Volyntsev
Hello, I'm glad to announce a new release of NGINX JavaScript module (njs). This release proceeds to extend the coverage of ECMAScript specifications and modules functionality. - Added support for setting nginx variables. - Added support for delete operation in r.headersOut. - Properties

Re: njs question

2019-02-26 Thread Dmitry Volyntsev
On 26.02.2019 9:24, ?? wrote: hello! Hello! I would like to ask some questions about the development of NJS. Hi ?? First: when will NJS improve the ES6 standard? According to http://nginx.org/en/docs/njs/index.html we plan to extend coverage of ES6 and later specifications. This

njs-0.3.1

2019-04-16 Thread Dmitry Volyntsev
Hello, I'm glad to announce a new release of NGINX JavaScript module (njs). This release proceeds to extend the coverage of ECMAScript specifications and modules functionality. - Added ES6 arrow functions support: : > var materials = ['Hydrogen', 'Helium', 'Lithium'] : undefined : >

Re: njs: how to define a global variable

2019-06-03 Thread Dmitry Volyntsev
On 29.05.2019 20:02, guy1976 wrote: hi is it possible to define a global variable that will be persist for different requests? Hi Guy, Currently it is not possible as all njs VM are short-lived (a VM per request). If performance is not a serious issue you can use FS API (see

njs-0.3.3

2019-06-25 Thread Dmitry Volyntsev
Hello, I’m glad to announce a new release of NGINX JavaScript module (njs). This release mostly focuses on stability issues in njs core after regular fuzzing tests were introduced. Notable new features: - Added ES5 property getter/setter runtime support: : > var o = {a:2}; : undefined : >

njs-0.3.2

2019-05-21 Thread Dmitry Volyntsev
Hello, I'm glad to announce a new release of NGINX JavaScript module (njs). This release mostly focuses on stability issues in njs core after regular fuzzing tests were introduced. Notable new features: - Added ES6 template literals support: : > var a = "Template", b = "literals" : undefined

njs-0.3.4

2019-08-13 Thread Dmitry Volyntsev
Hello, I'm glad to announce a new release of NGINX JavaScript module (njs). This release proceeds to extend the coverage of ECMAScript specifications. Apart from specs conformance fuzzing under Memory-Sanitizer is introduced which allowed to catch new types of bugs. Notable new features: -

njs-0.3.5

2019-08-15 Thread Dmitry Volyntsev
This is a bugfix release that eliminates heap-use-after-free introduced in 0.3.4. What installations are affected: - Importing built-in modules (crypto, fs) using require(). You can learn more about njs: - Overview and introduction: http://nginx.org/en/docs/njs/

[PATCH 0 of 1] Cache: move locked entries during forced expire to avoid overflow.

2015-05-12 Thread Dmitry Volyntsev
Добрый день! Высылаю патч (успешно накладывается на 1.7.7) который позволит обойти проблему. Теперь nginx будет просто перекладывать залоченные записи в начало очереди, тем самым избегая проблемы с остановкой удаления записей из кеша. Кроме того это позволит нам обойтись без

[nginx] Sub filter: support of variables in the strings to replace.

2015-08-17 Thread Dmitry Volyntsev
details: http://hg.nginx.org/nginx/rev/2c045e5b8291 branches: changeset: 6229:2c045e5b8291 user: Dmitry Volyntsev xei...@nginx.com date: Mon Aug 17 17:42:02 2015 +0300 description: Sub filter: support of variables in the strings to replace. diffstat: src/http/modules

[nginx] Sub filter: support of multiple strings to replace.

2015-08-17 Thread Dmitry Volyntsev
details: http://hg.nginx.org/nginx/rev/b9447fc457b4 branches: changeset: 6228:b9447fc457b4 user: Dmitry Volyntsev xei...@nginx.com date: Mon Aug 17 17:42:02 2015 +0300 description: Sub filter: support of multiple strings to replace. diffstat: src/http/modules

[nginx] Cache: report error if slab allocator fails during cache loading.

2016-03-18 Thread Dmitry Volyntsev
details: http://hg.nginx.org/nginx/rev/043914d19be8 branches: changeset: 6444:043914d19be8 user: Dmitry Volyntsev <xei...@nginx.com> date: Fri Mar 18 14:27:30 2016 +0300 description: Cache: report error if slab allocator fails during cache loading. diffstat: sr

[nginx] Cache: added watermark to reduce IO load when keys_zone is full.

2016-03-20 Thread Dmitry Volyntsev
details: http://hg.nginx.org/nginx/rev/c9d680b00744 branches: changeset: 6445:c9d680b00744 user: Dmitry Volyntsev <xei...@nginx.com> date: Fri Mar 18 15:08:21 2016 +0300 description: Cache: added watermark to reduce IO load when keys_zone is full. When a keys_zone is full the

[nginx] Win32: fixed build after 384154fc634f.

2016-03-23 Thread Dmitry Volyntsev
details: http://hg.nginx.org/nginx/rev/034329824dd3 branches: changeset: 6460:034329824dd3 user: Dmitry Volyntsev <xei...@nginx.com> date: Wed Mar 23 18:34:05 2016 +0300 description: Win32: fixed build after 384154fc634f. diffstat: src/core/ngx_resolver.c | 5 ++--- 1

[nginx] Cache: fixed slots accounting error introduced in c9d680b00744.

2016-03-23 Thread Dmitry Volyntsev
details: http://hg.nginx.org/nginx/rev/22c32937a41f branches: changeset: 6450:22c32937a41f user: Dmitry Volyntsev <xei...@nginx.com> date: Wed Mar 23 14:16:31 2016 +0300 description: Cache: fixed slots accounting error introduced in c9d680b00744. diffstat: sr

[nginx] Resolver: added support for SRV records.

2016-03-23 Thread Dmitry Volyntsev
details: http://hg.nginx.org/nginx/rev/384154fc634f branches: changeset: 6458:384154fc634f user: Dmitry Volyntsev <xei...@nginx.com> date: Wed Mar 23 17:44:36 2016 +0300 description: Resolver: added support for SRV records. diffstat: src/core/ngx_resolver.c

[nginx] Resolver: introduced valid field in resolver responses.

2016-03-23 Thread Dmitry Volyntsev
details: http://hg.nginx.org/nginx/rev/c94aba230a5a branches: changeset: 6456:c94aba230a5a user: Dmitry Volyntsev <xei...@nginx.com> date: Wed Mar 23 17:44:36 2016 +0300 description: Resolver: introduced valid field in resolver responses. It hints the amount of time a response

[nginx] Added the $realip_remote_port variable.

2016-05-23 Thread Dmitry Volyntsev
details: http://hg.nginx.org/nginx/rev/b13d3a6f0512 branches: changeset: 6562:b13d3a6f0512 user: Dmitry Volyntsev <xei...@nginx.com> date: Mon May 23 18:44:22 2016 +0300 description: Added the $realip_remote_port variable. diffstat: src/http/modules/ngx_http_realip_module.c

[nginx] Realip: take client port from PROXY protocol header.

2016-05-23 Thread Dmitry Volyntsev
details: http://hg.nginx.org/nginx/rev/26feae43987f branches: changeset: 6563:26feae43987f user: Dmitry Volyntsev <xei...@nginx.com> date: Mon May 23 18:44:22 2016 +0300 description: Realip: take client port from PROXY protocol header. Previously, when the client address was c

[nginx] Realip: port support in X-Real-IP and X-Forwarded-For.

2016-05-23 Thread Dmitry Volyntsev
details: http://hg.nginx.org/nginx/rev/19db5a6bc34e branches: changeset: 6564:19db5a6bc34e user: Dmitry Volyntsev <xei...@nginx.com> date: Mon May 23 18:44:23 2016 +0300 description: Realip: port support in X-Real-IP and X-Forwarded-For. Now, the module extracts optional port

[nginx] Added the $proxy_protocol_port variable.

2016-05-23 Thread Dmitry Volyntsev
details: http://hg.nginx.org/nginx/rev/28c76d9d75b7 branches: changeset: 6561:28c76d9d75b7 user: Dmitry Volyntsev <xei...@nginx.com> date: Mon May 23 18:44:21 2016 +0300 description: Added the $proxy_protocol_port variable. diffstat: src/core/ngx_connection.h | 1 + sr

[nginx] Map: support of complex values in resulting strings.

2016-05-12 Thread Dmitry Volyntsev
details: http://hg.nginx.org/nginx/rev/db699978a33f branches: changeset: 6535:db699978a33f user: Dmitry Volyntsev <xei...@nginx.com> date: Thu May 12 16:43:19 2016 +0300 description: Map: support of complex values in resulting strings. diffstat: src/http/m

[nginx] Variables: generic prefix variables.

2017-01-31 Thread Dmitry Volyntsev
details: http://hg.nginx.org/nginx/rev/d2b2ff157da5 branches: changeset: 6899:d2b2ff157da5 user: Dmitry Volyntsev <xei...@nginx.com> date: Tue Jan 31 21:19:58 2017 +0300 description: Variables: generic prefix variables. diffstat: src/http/modules/ngx_http_rewrite_module.c

[nginx] Stream: allow using the session context inside handlers.

2016-09-07 Thread Dmitry Volyntsev
details: http://hg.nginx.org/nginx/rev/db422604ceb0 branches: changeset: 6682:db422604ceb0 user: Dmitry Volyntsev <xei...@nginx.com> date: Tue Sep 06 21:28:17 2016 +0300 description: Stream: allow using the session context inside handlers. Previously, it was not possible

[nginx] Stream: postpone session initialization under accept mutex.

2016-09-07 Thread Dmitry Volyntsev
details: http://hg.nginx.org/nginx/rev/40e8ce405859 branches: changeset: 6679:40e8ce405859 user: Dmitry Volyntsev <xei...@nginx.com> date: Tue Sep 06 21:28:13 2016 +0300 description: Stream: postpone session initialization under accept mutex. Previously, it was possible tha

[nginx] Stream: $proxy_protocol_addr and $proxy_protocol_port.

2016-09-07 Thread Dmitry Volyntsev
details: http://hg.nginx.org/nginx/rev/b9f78a4e3597 branches: changeset: 6681:b9f78a4e3597 user: Dmitry Volyntsev <xei...@nginx.com> date: Tue Sep 06 21:28:16 2016 +0300 description: Stream: $proxy_protocol_addr and $proxy_protocol_port. diffstat: src/stream/ngx_stream_varia

[nginx] Stream: the "proxy_protocol" parameter of the "listen" directive.

2016-09-07 Thread Dmitry Volyntsev
details: http://hg.nginx.org/nginx/rev/7357abd1fa8c branches: changeset: 6680:7357abd1fa8c user: Dmitry Volyntsev <xei...@nginx.com> date: Tue Sep 06 21:28:16 2016 +0300 description: Stream: the "proxy_protocol" parameter of the "listen" directiv

[nginx] Stream: realip module.

2016-09-07 Thread Dmitry Volyntsev
details: http://hg.nginx.org/nginx/rev/9cac11efb205 branches: changeset: 6684:9cac11efb205 user: Dmitry Volyntsev <xei...@nginx.com> date: Thu Sep 01 14:45:33 2016 +0300 description: Stream: realip module. diffstat: auto/modules | 10 + auto/o

[nginx] Cache: cache manager limits.

2016-10-05 Thread Dmitry Volyntsev
details: http://hg.nginx.org/nginx/rev/ca709bca4b77 branches: changeset: 6727:ca709bca4b77 user: Dmitry Volyntsev <xei...@nginx.com> date: Wed Oct 05 14:22:30 2016 +0300 description: Cache: cache manager limits. The new parameters "manager_files"

Re: [PATCH] proxy-protocol dst variables and proxy-proxy-protocol

2016-09-20 Thread Dmitry Volyntsev
On 20.09.2016 15:50, Bjørnar Ness wrote: 2016-09-20 13:16 GMT+02:00 Dmitry Volyntsev <xei...@nginx.com>: Could you please clarify what a problem are you trying to solve? Any real world scenario? Hello, Dmitry, thanks for responding. The first problem I am trying to solve is the case

[nginx] Resolver: introduced state field in ngx_resolver_srv_name_t.

2016-10-03 Thread Dmitry Volyntsev
details: http://hg.nginx.org/nginx/rev/c3e3de6d2672 branches: changeset: 6714:c3e3de6d2672 user: Dmitry Volyntsev <xei...@nginx.com> date: Thu Sep 29 19:40:47 2016 +0300 description: Resolver: introduced state field in ngx_resolver_srv_name_t. It keeps the actual state

[nginx] SSL: RFC2253 compliant $ssl_client_s_dn and $ssl_client_i_dn.

2016-10-21 Thread Dmitry Volyntsev
details: http://hg.nginx.org/nginx/rev/56d6bfe6b609 branches: changeset: 6780:56d6bfe6b609 user: Dmitry Volyntsev <xei...@nginx.com> date: Fri Oct 21 16:28:39 2016 +0300 description: SSL: RFC2253 compliant $ssl_client_s_dn and $ssl_client_i_dn. Originally, the variable

[nginx] Cache: proxy_cache_max_range_offset and friends.

2016-11-02 Thread Dmitry Volyntsev
details: http://hg.nginx.org/nginx/rev/0fba3ed4e7eb branches: changeset: 6793:0fba3ed4e7eb user: Dmitry Volyntsev <xei...@nginx.com> date: Wed Nov 02 20:05:21 2016 +0300 description: Cache: proxy_cache_max_range_offset and friends. It configures a threshold in bytes, above

[nginx] Resolver: fixed possible premature stop of the resend timer.

2016-12-16 Thread Dmitry Volyntsev
details: http://hg.nginx.org/nginx/rev/9abba5b70ea0 branches: changeset: 6845:9abba5b70ea0 user: Dmitry Volyntsev <xei...@nginx.com> date: Fri Dec 16 18:21:42 2016 +0300 description: Resolver: fixed possible premature stop of the resend timer. Previously, ngx_resolve_nam

[nginx] Resolver: fixed handling of partially resolved SRV.

2016-12-16 Thread Dmitry Volyntsev
details: http://hg.nginx.org/nginx/rev/d72b38376092 branches: changeset: 6847:d72b38376092 user: Dmitry Volyntsev <xei...@nginx.com> date: Fri Dec 16 18:21:55 2016 +0300 description: Resolver: fixed handling of partially resolved SRV. The resolver handles SRV requests in two

[nginx] Resolver: fixed a race between parallel name and addr resolves.

2016-12-16 Thread Dmitry Volyntsev
details: http://hg.nginx.org/nginx/rev/c3a895b94d3f branches: changeset: 6846:c3a895b94d3f user: Dmitry Volyntsev <xei...@nginx.com> date: Fri Dec 16 18:21:55 2016 +0300 description: Resolver: fixed a race between parallel name and addr resolves. Previously, ngx_resolv

[nginx] Events: improved error event handling for UDP sockets.

2016-12-01 Thread Dmitry Volyntsev
details: http://hg.nginx.org/nginx/rev/75dbab4ea930 branches: changeset: 6806:75dbab4ea930 user: Dmitry Volyntsev <xei...@nginx.com> date: Mon Nov 21 16:03:42 2016 +0300 description: Events: improved error event handling for UDP sockets. Normally, the epoll module calls th

[njs] Fixed processing files from stdin.

2017-08-15 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/c0e8bd4964be branches: changeset: 397:c0e8bd4964be user: Dmitry Volyntsev <xei...@nginx.com> date: Tue Aug 15 21:19:13 2017 +0300 description: Fixed processing files from stdin. diffstat: njs/njs.c | 4 ++-- 1 files changed, 2 insertions

[njs] Splitting unit tests and benchmark.

2017-07-07 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/0ad7f75f9dbf branches: changeset: 385:0ad7f75f9dbf user: Dmitry Volyntsev <xei...@nginx.com> date: Fri Jul 07 19:17:26 2017 +0300 description: Splitting unit tests and benchmark. diffstat: Makefile | 12 ++ nj

[njs] Initialize njs_vm_opt_t structs to 0 to simplify options adding.

2017-07-17 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/182d765687ee branches: changeset: 387:182d765687ee user: Dmitry Volyntsev <xei...@nginx.com> date: Mon Jul 17 15:29:02 2017 +0300 description: Initialize njs_vm_opt_t structs to 0 to simplify options adding. diffstat: nginx/ngx_http_js_mo

[njs] Interactive shell.

2017-07-17 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/f2ecbe1c2261 branches: changeset: 388:f2ecbe1c2261 user: Dmitry Volyntsev <xei...@nginx.com> date: Mon Jul 17 20:38:00 2017 +0300 description: Interactive shell. diffstat: Makefile| 26 ++ njs

[njs] Fixed missing extern qualifier.

2017-07-18 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/ce44f3320fdf branches: changeset: 389:ce44f3320fdf user: Dmitry Volyntsev <xei...@nginx.com> date: Tue Jul 18 14:22:16 2017 +0300 description: Fixed missing extern qualifier. diffstat: njs/njscript.h | 2 +- 1 files changed, 1 insertions

[njs] Removed unused njs_vm_export_functions().

2017-07-06 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/f8f7540383f2 branches: changeset: 382:f8f7540383f2 user: Dmitry Volyntsev <xei...@nginx.com> date: Wed Jun 28 15:31:36 2017 +0300 description: Removed unused njs_vm_export_functions(). diffstat: nginx/ngx_http_js_module.c | 4 +-

[njs] Passing all args to njs_vm_create() through njs_vm_opt_t struct.

2017-07-06 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/57bd01817edb branches: changeset: 383:57bd01817edb user: Dmitry Volyntsev <xei...@nginx.com> date: Thu Jul 06 19:07:41 2017 +0300 description: Passing all args to njs_vm_create() through njs_vm_opt_t struct. diffstat: nginx/ngx_http_js_mo

[njs] Moving VM initialization from njs_vm_clone() to njs_vm_init().

2017-07-06 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/d09638142829 branches: changeset: 384:d09638142829 user: Dmitry Volyntsev <xei...@nginx.com> date: Thu Jul 06 19:09:56 2017 +0300 description: Moving VM initialization from njs_vm_clone() to njs_vm_init(). diffstat: njs/njscript.c

[njs] Fixed Object.prototype.isPrototypeOf() without arguments.

2017-06-20 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/1c4d7281d44e branches: changeset: 372:1c4d7281d44e user: Dmitry Volyntsev <xei...@nginx.com> date: Tue Jun 20 17:12:44 2017 +0300 description: Fixed Object.prototype.isPrototypeOf() without arguments. diffstat: njs/njs_object.c

[njs] Log error message if VM creation failed.

2017-06-22 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/61feac0beeb3 branches: changeset: 374:61feac0beeb3 user: Dmitry Volyntsev <xei...@nginx.com> date: Thu Jun 22 18:52:47 2017 +0300 description: Log error message if VM creation failed. diffstat: nginx/ngx_http_js_module.c | 1 +

[njs] Fixed typo in js_include handler.

2017-06-22 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/44ca33e6afdb branches: changeset: 375:44ca33e6afdb user: Dmitry Volyntsev <xei...@nginx.com> date: Thu Jun 22 18:56:26 2017 +0300 description: Fixed typo in js_include handler. diffstat: nginx/ngx_http_js_module.c | 2 +-

[njs] Fixed Object.prototype.hasOwnProperty() without arguments.

2017-06-20 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/36947c6cb8c6 branches: changeset: 373:36947c6cb8c6 user: Dmitry Volyntsev <xei...@nginx.com> date: Tue Jun 20 18:06:19 2017 +0300 description: Fixed Object.prototype.hasOwnProperty() without arguments. diffstat: njs/njs_object.c

[nginx] Cache: ignore long locked entries during forced expire.

2017-05-18 Thread Dmitry Volyntsev
details: http://hg.nginx.org/nginx/rev/ab199f0eb8e8 branches: changeset: 7002:ab199f0eb8e8 user: Dmitry Volyntsev <xei...@nginx.com> date: Thu May 18 18:39:16 2017 +0300 description: Cache: ignore long locked entries during forced expire. Abnormally exited workers may leave

[njs] parseInt() fixed for hexadecimal literals.

2017-05-25 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/fc6c8da00858 branches: changeset: 341:fc6c8da00858 user: Dmitry Volyntsev <xei...@nginx.com> date: Thu May 25 14:16:31 2017 +0300 description: parseInt() fixed for hexadecimal literals. diffstat: njs/njs_number.c

Re: [njs] Lexer support for hexadecimal literal values.

2017-05-31 Thread Dmitry Volyntsev
Hi, Paulo the support for hexadecimal literal values was committed in http://hg.nginx.org/njs/rev/a38c33e9f728 Thank you for prodding. On 21.05.2017 20:52, Paulo Pacheco wrote: # HG changeset patch # User Paulo Pacheco > # Date 1495388206 0 #

[njs] Fixed possible buffer overrun during numbers parsing.

2017-06-05 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/a782bc08b927 branches: changeset: 350:a782bc08b927 user: Dmitry Volyntsev <xei...@nginx.com> date: Wed May 31 20:42:15 2017 +0300 description: Fixed possible buffer overrun during numbers parsing. diffstat: njs/njs_number.c | 2 +- 1

[njs] Added support of scientific notation literals.

2017-06-05 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/02a59fe82c7a branches: changeset: 351:02a59fe82c7a user: Dmitry Volyntsev <xei...@nginx.com> date: Mon Jun 05 14:59:28 2017 +0300 description: Added support of scientific notation literals. diffstat: njs/njs_number.c

[njs] Object.keys() method.

2017-06-07 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/fb703c8f4292 branches: changeset: 352:fb703c8f4292 user: Dmitry Volyntsev <xei...@nginx.com> date: Wed Jun 07 14:12:23 2017 +0300 description: Object.keys() method. diffstat: njs/njs_object.c

[njs] Fixed building by GCC 4.2.

2017-06-07 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/7196ac334d64 branches: changeset: 353:7196ac334d64 user: Dmitry Volyntsev <xei...@nginx.com> date: Wed Jun 07 15:45:01 2017 +0300 description: Fixed building by GCC 4.2. diffstat: njs/njs_object.c | 1 + 1 files changed, 1 insertions

[njs] Object.prototype.hasOwnProperty() method.

2017-06-08 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/692ad3557d58 branches: changeset: 357:692ad3557d58 user: Dmitry Volyntsev <xei...@nginx.com> date: Thu Jun 08 14:18:37 2017 +0300 description: Object.prototype.hasOwnProperty() method. diffstat: njs/njs_object.c

[njs] Object.defineProperty() method.

2017-06-07 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/a0bc58cc65d5 branches: changeset: 356:a0bc58cc65d5 user: Dmitry Volyntsev <xei...@nginx.com> date: Wed Jun 07 17:57:40 2017 +0300 description: Object.defineProperty() method. diffstat: njs/njs_object.c

[njs] Object.prototype.isPrototypeOf() method.

2017-06-09 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/740823b9f444 branches: changeset: 360:740823b9f444 user: Dmitry Volyntsev <xei...@nginx.com> date: Fri Jun 09 17:55:21 2017 +0300 description: Object.prototype.isPrototypeOf() method. diffstat: njs/njs_object.c

[njs] Object.getPrototypeOf() method.

2017-06-09 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/e49777448f84 branches: changeset: 359:e49777448f84 user: Dmitry Volyntsev <xei...@nginx.com> date: Fri Jun 09 17:55:08 2017 +0300 description: Object.getPrototypeOf() method. diffstat: njs/njs_object.c | 22 +

[njs] Use njs_string_get() where appropriate.

2017-06-09 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/065bf91227a1 branches: changeset: 358:065bf91227a1 user: Dmitry Volyntsev <xei...@nginx.com> date: Fri Jun 09 17:22:27 2017 +0300 description: Use njs_string_get() where appropriate. diffstat: njs/njs_date.c | 8 njs/njs_nu

[njs] Object.defineProperties() method.

2017-06-09 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/499ed5aa4f98 branches: changeset: 361:499ed5aa4f98 user: Dmitry Volyntsev <xei...@nginx.com> date: Fri Jun 09 20:28:15 2017 +0300 description: Object.defineProperties() method. diffstat: njs/njs_object.c

[njs] Using nxt_lvlhsh_each_init() where appropriate.

2017-06-13 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/096d526744d5 branches: changeset: 362:096d526744d5 user: Dmitry Volyntsev <xei...@nginx.com> date: Tue Jun 13 14:33:51 2017 +0300 description: Using nxt_lvlhsh_each_init() where appropriate. diffstat: njs/njs_generator.c | 3 +-

[njs] Object.getOwnPropertyDescriptor() method.

2017-06-13 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/cf6b4a543eea branches: changeset: 364:cf6b4a543eea user: Dmitry Volyntsev <xei...@nginx.com> date: Tue Jun 13 17:52:11 2017 +0300 description: Object.getOwnPropertyDescriptor() method. diffstat: njs/njs_object.c

[njs] Passing value and default attributes to njs_object_prop_alloc().

2017-06-13 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/8b5f5dbcbfe7 branches: changeset: 363:8b5f5dbcbfe7 user: Dmitry Volyntsev <xei...@nginx.com> date: Tue Jun 13 17:49:05 2017 +0300 description: Passing value and default attributes to njs_object_prop_alloc(). diffstat: njs/njs_object.c

[njs] Object.freeze() method.

2017-06-19 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/824fbb7fcd35 branches: changeset: 366:824fbb7fcd35 user: Dmitry Volyntsev <xei...@nginx.com> date: Mon Jun 19 14:39:56 2017 +0300 description: Object.freeze() method. diffstat: njs/njs_array.c | 3 +- njs/njs_builtin.c

[njs] Object.seal() method.

2017-06-19 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/cc5ab912d455 branches: changeset: 370:cc5ab912d455 user: Dmitry Volyntsev <xei...@nginx.com> date: Mon Jun 19 14:46:39 2017 +0300 description: Object.seal() method. diffstat: njs/njs_object.c

[njs] Object.isExtensible() method.

2017-06-19 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/bd6c05f66ea9 branches: changeset: 369:bd6c05f66ea9 user: Dmitry Volyntsev <xei...@nginx.com> date: Mon Jun 19 14:46:34 2017 +0300 description: Object.isExtensible() method. diffstat: njs/njs_object.c

[njs] Using njs_string_get() where appropriate.

2017-06-19 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/7ed74a2e4c50 branches: changeset: 365:7ed74a2e4c50 user: Dmitry Volyntsev <xei...@nginx.com> date: Wed Jun 14 17:58:10 2017 +0300 description: Using njs_string_get() where appropriate. diffstat: njs/njs_object.c | 11 +-- njs/nj

[njs] Object.isFrozen() method.

2017-06-19 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/b2ccd7673a5e branches: changeset: 368:b2ccd7673a5e user: Dmitry Volyntsev <xei...@nginx.com> date: Mon Jun 19 14:41:03 2017 +0300 description: Object.isFrozen() method. diffstat: njs/njs_object.c

[njs] Object.isSealed() method.

2017-06-19 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/bcd7a7256805 branches: changeset: 371:bcd7a7256805 user: Dmitry Volyntsev <xei...@nginx.com> date: Mon Jun 19 14:46:46 2017 +0300 description: Object.isSealed() method. diffstat: njs/njs_object.c

[njs] Object.preventExtensions() method.

2017-06-19 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/4d5a5d618fca branches: changeset: 367:4d5a5d618fca user: Dmitry Volyntsev <xei...@nginx.com> date: Mon Jun 19 14:40:14 2017 +0300 description: Object.preventExtensions() method. diffstat: njs/njs_object.c

Re: nginx перестает следить за размером каталога proxy_cache_patch

2017-05-02 Thread Dmitry Volyntsev
On 02.05.2017 15:35, Владислав Толмачев wrote: Максим, нельзя ли как-то пофиксить это, я искал в гугле и нашел кучу проблем аналогичного характера и ни одного решения. У меня nginx занимается только проксированием, он без модулей и прочего, абсолютно чистый. Ок не смог он удалить 20 этих

[njs] Added support of hex literals.

2017-05-30 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/a38c33e9f728 branches: changeset: 347:a38c33e9f728 user: Dmitry Volyntsev <xei...@nginx.com> date: Tue May 30 19:35:08 2017 +0300 description: Added support of hex literals. diffstat: njs/njs_lexer.c | 57 ---

[njs] JSON object.

2017-10-03 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/94c42736a730 branches: changeset: 410:94c42736a730 user: Dmitry Volyntsev <xei...@nginx.com> date: Tue Oct 03 21:24:58 2017 +0300 description: JSON object. diffstat: Makefile |14 + njs/njs_array.c | 2 +

[njs] Version 0.1.14.

2017-10-09 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/d89d06dc638e branches: changeset: 417:d89d06dc638e user: Dmitry Volyntsev <xei...@nginx.com> date: Mon Oct 09 20:32:21 2017 +0300 description: Version 0.1.14. diffstat: CHANGES | 11 +++ Makefile | 2 +- 2 files chang

[njs] Added tag 0.1.14 for changeset d89d06dc638e

2017-10-09 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/06aadeb164a3 branches: changeset: 418:06aadeb164a3 user: Dmitry Volyntsev <xei...@nginx.com> date: Mon Oct 09 20:37:02 2017 +0300 description: Added tag 0.1.14 for changeset d89d06dc638e diffstat: .hgtags | 1 + 1 files changed, 1 inse

[njs] Fixed default makefile target is libedit is unavailable.

2017-10-05 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/d0e24fa20991 branches: changeset: 412:d0e24fa20991 user: Dmitry Volyntsev <xei...@nginx.com> date: Thu Oct 05 15:50:16 2017 +0300 description: Fixed default makefile target is libedit is unavailable. Previously, if libedit was unavailabl

[njs] Fixed various dead store assignments.

2017-10-05 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/b4462c7dc1b1 branches: changeset: 414:b4462c7dc1b1 user: Dmitry Volyntsev <xei...@nginx.com> date: Thu Oct 05 15:50:36 2017 +0300 description: Fixed various dead store assignments. diffstat: njs/njs_json.c | 2 +

[njs] Skipping expect tests if libedit is not available.

2017-10-05 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/6789d9142b05 branches: changeset: 413:6789d9142b05 user: Dmitry Volyntsev <xei...@nginx.com> date: Thu Oct 05 15:50:17 2017 +0300 description: Skipping expect tests if libedit is not available. diffstat: nxt/auto/editline | 2 ++ nx

  1   2   3   4   5   6   7   8   >