Re: cache: move open to thread pool

2019-07-19 Thread 洪志道
> The patch wasn't updated since that but I suspect it could be still applied to nginx, maybe with some minor tweaks. We still appreciate your work. BTW, are the patches in the attachment up to date? If not, can you share the latest patch? We are happy to apply it and feedback if possible. When t

[njs] Added Object shorthand methods and computed property names.

2019-07-19 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/97ab91a7c7f5 branches: changeset: 1064:97ab91a7c7f5 user: hongzhidao date: Tue Jul 02 22:24:11 2019 -0400 description: Added Object shorthand methods and computed property names. This closes #182 issue on Github. diffstat: njs/njs_parser.c

[njs] Inlining call to hash function in njs_property_query().

2019-07-19 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/9da8ebc3dc07 branches: changeset: 1063:9da8ebc3dc07 user: Dmitry Volyntsev date: Fri Jul 19 23:27:53 2019 +0300 description: Inlining call to hash function in njs_property_query(). diffstat: njs/njs_object_property.c | 5 + 1 files change

[njs] Refactored working with non-primitive types.

2019-07-19 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/201af81dfa9b branches: changeset: 1060:201af81dfa9b user: Dmitry Volyntsev date: Fri Jul 05 21:45:28 2019 +0300 description: Refactored working with non-primitive types. Traps mechanism is remove. diffstat: njs/njs.c |

[njs] Added njs_set_int32() and njs_set_uint32() intrinsics.

2019-07-19 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/8b977c78885f branches: changeset: 1062:8b977c78885f user: Dmitry Volyntsev date: Fri Jul 19 22:05:34 2019 +0300 description: Added njs_set_int32() and njs_set_uint32() intrinsics. diffstat: njs/njs_value.h | 18 ++ njs/njs_vm.

[njs] Refactored working with function calls.

2019-07-19 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/540f03725df2 branches: changeset: 1061:540f03725df2 user: hongzhidao date: Tue Jul 16 22:44:16 2019 -0400 description: Refactored working with function calls. 1) njs_continuation_t is removed (appropriate functions are rewritten).

Re: cache: move open to thread pool

2019-07-19 Thread Maxim Konovalov
Hi hongzhidao, The patch wasn't merged as we didn't see much interest and real technical feedback from potential testers. The code adds additional complexity to the nginx core with all associated costs of maintaining the code virtually forever. In the same time at this point it brings no measura

Re: TLS1.3

2019-07-19 Thread Thomas Ward
On 7/19/19 12:09 PM, Maxim Dounin wrote: > Hello! > > On Thu, Jul 18, 2019 at 04:01:39PM -0400, Thomas Ward wrote: > >> Downstream, in Ubuntu, we've got NGINX 1.14.0 in the repositories, and >> TLS 1.3 enabled in the bionic-updates repository due to OpenSSL being >> bumped to 1.1.1.  We don't curr

Re: TLS1.3

2019-07-19 Thread Maxim Dounin
Hello! On Thu, Jul 18, 2019 at 04:01:39PM -0400, Thomas Ward wrote: > Downstream, in Ubuntu, we've got NGINX 1.14.0 in the repositories, and > TLS 1.3 enabled in the bionic-updates repository due to OpenSSL being > bumped to 1.1.1.  We don't currently have a mechanism > > This means that TLS1.3

[njs] Fixed njs_string_slice().

2019-07-19 Thread Alexander Borisov
details: https://hg.nginx.org/njs/rev/2fdad3cbbd74 branches: changeset: 1059:2fdad3cbbd74 user: Dmitry Volyntsev date: Thu Jul 18 21:12:25 2019 +0300 description: Fixed njs_string_slice(). Previously, njs_string_slice() when slice->start == slice->string_length may call njs_string_o

Re: cache: move open to thread pool

2019-07-19 Thread 洪志道
Hi. Will this patch be merged into the main branch? What is the latest patch? We can help with the test. Thanks. On Sat, Feb 9, 2019 at 6:40 AM Ka-Hing Cheung via nginx-devel < nginx-devel@nginx.org> wrote: > Unfortunately our test colo is not setup to do performance testing > (the traffic it rec

[nginx] Core: fixed memory leak on error, missed in c3f60d618c17.

2019-07-19 Thread Maxim Dounin
details: https://hg.nginx.org/nginx/rev/eb9c7fb796d5 branches: changeset: 7541:eb9c7fb796d5 user: Maxim Dounin date: Fri Jul 19 17:50:00 2019 +0300 description: Core: fixed memory leak on error, missed in c3f60d618c17. Found by Coverity (CID 1451664). diffstat: src/core/ngx_hash.