details: http://hg.nginx.org/njs/rev/f8f20b27724e branches: changeset: 270:f8f20b27724e user: Igor Sysoev <igor@sysoev.ru> date: Thu Dec 01 19:45:19 2016 +0300 description: Using short string values where they are enough. diffstat: njs/njs_date.c | 28 ++++++++++++++-------------- njs/njs_object.c | 3 +-- 2 files changed, 15 insertions(+), 16 deletions(-) diffs (136 lby Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/6d0d4a92fa02 branches: changeset: 269:6d0d4a92fa02 user: Igor Sysoev <igor@sysoev.ru> date: Thu Dec 01 18:56:35 2016 +0300 description: Maximum call stack size is limited by 16M. diffstat: njs/njs_function.c | 20 +++++++++++++++----- njs/njs_function.h | 14 ++++---------- njs/njs_vm.c | 6 ++++-- njs/njs_vm.hby Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/86c35adbd3f9 branches: changeset: 268:86c35adbd3f9 user: Igor Sysoev <igor@sysoev.ru> date: Wed Nov 30 14:53:15 2016 +0300 description: Added more dependencies on nxt_auto_config.h. diffstat: Makefile | 14 +++++++------- nxt/Makefile | 1 + nxt/auto/configure | 7 ------- nxt/test/Makefile | 1 + 4 files changed,by Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/adfb758ad872 branches: changeset: 267:adfb758ad872 user: Igor Sysoev <igor@sysoev.ru> date: Wed Nov 30 14:10:49 2016 +0300 description: Fixed nginx modules building introduced in 9b37882ad552. Removed old third party module addition method. diffstat: nginx/config | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (23 linesby Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/73e4b9ddb4df branches: changeset: 260:73e4b9ddb4df user: Igor Sysoev <igor@sysoev.ru> date: Wed Nov 16 15:21:03 2016 +0300 description: Fixed unit tests on FreeBSD. diffstat: njs/test/njs_unit_test.c | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diffs (18 lines): diff -r 8253ecba7ad6 -r 73e4b9ddb4df njs/test/njs_unit_tby Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/f402a8c64d7a branches: changeset: 261:f402a8c64d7a user: Igor Sysoev <igor@sysoev.ru> date: Wed Nov 16 15:21:07 2016 +0300 description: A workround for Solaris bugs in acos() and asin(). diffstat: njs/njs_math.c | 22 ++++++++++++++++++++-- 1 files changed, 20 insertions(+), 2 deletions(-) diffs (39 lines): diff -r 73e4b9ddb4df -r f402by Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/9b9f46b55de2 branches: changeset: 256:9b9f46b55de2 user: Igor Sysoev <igor@sysoev.ru> date: Tue Nov 15 18:28:35 2016 +0300 description: Added tag 0.1.5 for changeset 9c813c2bb2ac diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r 9c813c2bb2ac -r 9b9f46b55de2 .hgtags --- a/.hgtags Tue Novby Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/9c813c2bb2ac branches: changeset: 255:9c813c2bb2ac user: Igor Sysoev <igor@sysoev.ru> date: Tue Nov 15 18:28:18 2016 +0300 description: Version 0.1.5. diffstat: Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (10 lines): diff -r d2ab98ea87ad -r 9c813c2bb2ac Makefile --- a/Makefile Tue Nov 15 17:43:05 2016 +0300by Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/d2ab98ea87ad branches: changeset: 254:d2ab98ea87ad user: Igor Sysoev <igor@sysoev.ru> date: Tue Nov 15 17:43:05 2016 +0300 description: Native methods and non-constructor functions must throw TypeError exception if they are called as constructor. diffstat: njs/njs_builtin.c | 1 + njs/njs_vm.c | 22 +++++++++++++++++-by Igor Sysoev - Nginx Development
On 11 Nov 2016, at 22:13, Dave Hayes <dave@jetcafe.org> wrote: > On 11/11/2016 10:49, Igor Sysoev wrote: >> Yes, *:443 matches all addresses except explicitly specified in listen directives with the same port 443. > > Ah! Thank you very much! This statement cleared up my confusion. I didn't see this statement in any documentation, but I could have missed it. > >> Cby Igor Sysoev - Nginx Mailing List - English
On 11 Nov 2016, at 20:29, Dave Hayes <dave@jetcafe.org> wrote: > On 11/11/2016 00:02, Igor Sysoev wrote: >> Please read this: >> http://nginx.org/en/docs/http/request_processing.html#mixed_name_ip_based_servers > > Thanks very much for your reply. I have read this before, but maybe I missed something. In reading it again like you asked, I see this paragraph: > >by Igor Sysoev - Nginx Mailing List - English
details: http://hg.nginx.org/njs/rev/91640c0405f4 branches: changeset: 253:91640c0405f4 user: Igor Sysoev <igor@sysoev.ru> date: Fri Nov 11 18:12:13 2016 +0300 description: Removed irrelevant overhead in clone/destroy benchmark. diffstat: njs/test/njs_unit_test.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (14 lines): diff -r 9f66db825663 -r 91640c040by Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/9f66db825663 branches: changeset: 252:9f66db825663 user: Igor Sysoev <igor@sysoev.ru> date: Fri Nov 11 17:28:47 2016 +0300 description: Now the empty regexp pattern is created on compile stage only. This speeds up njs_vm_clone() operation twice. diffstat: njs/njs_builtin.c | 2 +- njs/njs_regexp.c | 31 +++++++++++++++----------------by Igor Sysoev - Nginx Development
On 11 Nov 2016, at 05:30, Dave Hayes <dave@jetcafe.org> wrote: > Hello. :) Please consider the following nginx setup: > > server { > # server 1 > listen 443 default_server ssl; > server_name ""; > ... > return 444; > } > > server { > # server 2 > listen 127.0.0.81:443 default_server ssl; > server_name ""; >by Igor Sysoev - Nginx Mailing List - English
details: http://hg.nginx.org/njs/rev/7a42d1e83ae2 branches: changeset: 245:7a42d1e83ae2 user: Igor Sysoev <igor@sysoev.ru> date: Wed Nov 09 15:04:40 2016 +0300 description: Style and small miscellaneous fixes. diffstat: njs/njs_disassembler.c | 2 +- njs/njs_string.c | 3 +-- njs/njs_vm.c | 14 +++++++------- njs/njs_vm.h |by Igor Sysoev - Nginx Development
On 08 Nov 2016, at 04:14, Jonathan Vanasco <nginx@2xlp.com> wrote: > I'm doing a quick audit on an nginx deployment and want to make sure something is implemented correctly > > We have a handful of domains that redirect http traffic to https. > > we used to do this, which is very efficient: > > sever { > listen 80: > server_name example.com www.example.comby Igor Sysoev - Nginx Mailing List - English
details: http://hg.nginx.org/njs/rev/53d2024f6ca3 branches: changeset: 239:53d2024f6ca3 user: Igor Sysoev <igor@sysoev.ru> date: Fri Nov 04 23:45:35 2016 +0300 description: Function expressions did not have prototypes. diffstat: njs/njs_vm.c | 1 + njs/test/njs_unit_test.c | 11 +++++++++++ 2 files changed, 12 insertions(+), 0 deletions(-) diffs (32 lines):by Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/e16086a85f0b branches: changeset: 235:e16086a85f0b user: Igor Sysoev <igor@sysoev.ru> date: Fri Nov 04 16:22:56 2016 +0300 description: String.prototype.repeat() did not check the count parameter for single character strings. The count parameter should be checked also for empty string. In collaboration with Andrey Zelenkov and Valentin Barby Igor Sysoev - Nginx Development
On 02 Nov 2016, at 01:49, olat <nginx-forum@forum.nginx.org> wrote: > Looks like there is a bug in the forum. 2 the same topics and the response > ended up in the wrong thread, mixed up ;-) Yes, the forum has some issues when answer come from the mailing list. > Anyway, Thanks Igor for a quick response. Could you explain more why regex > is not a good idea? I am asking about rby Igor Sysoev - Nginx Mailing List - English
On 01 Nov 2016, at 16:44, olat <nginx-forum@forum.nginx.org> wrote: > Hello, > > I would like to ask about regex. Why these 2 doesn't behave the same? > > location ~ /(apple/|pear/(small|big)/|test(ing|er)/(fruit|vegis)_)* > > location ~ /apple/*|/pear/(small|big)/*|/test(ing|er)/(fruit|vegis)_* > > > could you point me to good practice? The good practiceby Igor Sysoev - Nginx Mailing List - English
details: http://hg.nginx.org/njs/rev/b0b46036d54e branches: changeset: 231:b0b46036d54e user: Igor Sysoev <igor@sysoev.ru> date: Mon Oct 31 15:56:49 2016 +0300 description: A surplus check has been removed. Found by Coverity Scan. diffstat: njs/njscript.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (12 lines): diff -r f0ac27f59e58 -r b0b46036d54e njs/nby Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/f0ac27f59e58 branches: changeset: 230:f0ac27f59e58 user: Igor Sysoev <igor@sysoev.ru> date: Mon Oct 31 15:51:12 2016 +0300 description: A possible memory leak has been fixed. Thanks to ??? (Hong Zhi Dao). diffstat: nxt/nxt_mem_cache_pool.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diffs (19 lines): diff -r a1cd4104df67by Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/a1cd4104df67 branches: changeset: 229:a1cd4104df67 user: Igor Sysoev <igor@sysoev.ru> date: Sat Oct 29 00:04:29 2016 +0300 description: Fixed building on modern Linux kernels. diffstat: nxt/nxt_random.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (12 lines): diff -r 9b37882ad552 -r a1cd4104df67 nxt/nxt_random.c --- aby Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/9b37882ad552 branches: changeset: 228:9b37882ad552 user: Piotr Sikora <piotrsikora@google.com> date: Fri Oct 28 19:29:38 2016 +0300 description: Added missing <nxt_auto_config.h> includes. Previously, most objects were compiled without any features detected by the ./configure script. Signed-off-by: Piotr Sikora <piotrsikora@googleby Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/5de122a4031a branches: changeset: 226:5de122a4031a user: Igor Sysoev <igor@sysoev.ru> date: Fri Oct 28 13:32:33 2016 +0300 description: String.prototype.trim() method. In collaboration with Valentin Bartenev. diffstat: njs/njs_string.c | 136 +++++++++++++++++++++++++++++++++++++++++++++++ njs/test/njs_unit_test.c | 30 +++++++by Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/d84e34c2dbde branches: changeset: 225:d84e34c2dbde user: Igor Sysoev <igor@sysoev.ru> date: Thu Oct 27 16:38:05 2016 +0300 description: String.prototype.lastIndexOf() method fix. In collaboration with Valentin Bartenev. diffstat: njs/njs_string.c | 24 +++++++++++++----------- 1 files changed, 13 insertions(+), 11 deletions(-) diffs (6by Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/74785cebd8df branches: changeset: 222:74785cebd8df user: Igor Sysoev <igor@sysoev.ru> date: Thu Oct 27 10:47:48 2016 +0300 description: String.prototype.indexOf() method fixes. diffstat: njs/njs_string.c | 66 +++++++++++++++++++++++++++++++++++++++++------ njs/test/njs_unit_test.c | 6 ++++ 2 files changed, 63 insertions(+), 9by Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/86fd59307356 branches: changeset: 224:86fd59307356 user: Igor Sysoev <igor@sysoev.ru> date: Thu Oct 27 11:14:46 2016 +0300 description: String.prototypes.includes() method. diffstat: njs/njs_string.c | 78 ++++++++++++++++++++++++++++++++++++++++++++++++ njs/test/njs_unit_test.c | 18 +++++++++++ 2 files changed, 96 insertions(+by Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/da63e61ecef4 branches: changeset: 223:da63e61ecef4 user: Igor Sysoev <igor@sysoev.ru> date: Thu Oct 27 10:56:54 2016 +0300 description: String.prototype.lastIndexOf() method fixes and optimizations. In collaboration with Valentin Bartenev. diffstat: njs/njs_string.c | 129 ++++++++++++++++++++++------------------------ njs/test/by Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/f21747d5ac83 branches: changeset: 221:f21747d5ac83 user: Igor Sysoev <igor@sysoev.ru> date: Tue Oct 25 17:52:18 2016 +0300 description: Array.prototypes.includes() method. diffstat: njs/njs_array.c | 85 ++++++++++++++++++++++++++++++++++++++++++++++++ njs/test/njs_unit_test.c | 30 ++++++++++++++++ 2 files changed, 115 insertiby Igor Sysoev - Nginx Development
![]() |
![]() |
![]() |
![]() |
![]() |