[njs] Fixed njs_vmcode_interpreter() when "toString" conversion fails.

2022-04-04 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/07ef6c1f04f1 branches: changeset: 1833:07ef6c1f04f1 user: Dmitry Volyntsev date: Mon Mar 28 16:22:17 2022 + description: Fixed njs_vmcode_interpreter() when "toString" conversion fails. Previously, while interpreting a user function, njs_vmc

[njs] Tests: introduced OPCODE debug.

2022-04-04 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/6a5ec4a275a6 branches: changeset: 1832:6a5ec4a275a6 user: Dmitry Volyntsev date: Tue Feb 22 19:38:59 2022 + description: Tests: introduced OPCODE debug. diffstat: src/njs_disassembler.c | 18 ++ src/njs_error.c| 2

question around ngx_http_get_flushed_variable()

2022-04-04 Thread Chris Newton via nginx-devel
I'm a little unclear as to when ngx_http_get_flushed_variable() should be used rather than ngx_http_get_indexed_variable(). The dev guide is a little sparse, so I'm hoping someone could help. The relevant flags within the ngx_variable_value_t with their dev guide descriptions (followed by my inter