[njs] Shell: increased max output size for console.log() to 32768.
Dmitry Volyntsev
xeioex at nginx.com
Thu Jan 19 04:06:57 UTC 2023
details: https://hg.nginx.org/njs/rev/8b9414a6e557
branches:
changeset: 2026:8b9414a6e557
user: Dmitry Volyntsev <xeioex at nginx.com>
date: Wed Jan 18 18:33:23 2023 -0800
description:
Shell: increased max output size for console.log() to 32768.
diffstat:
src/njs_vm.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 6bcfa2934487 -r 8b9414a6e557 src/njs_vm.c
--- a/src/njs_vm.c Fri Jan 06 20:39:01 2023 -0800
+++ b/src/njs_vm.c Wed Jan 18 18:33:23 2023 -0800
@@ -906,7 +906,7 @@ njs_vm_logger(njs_vm_t *vm, njs_log_leve
u_char *p;
va_list args;
njs_logger_t logger;
- u_char buf[NJS_MAX_ERROR_STR];
+ u_char buf[32768];
if (vm->options.ops == NULL) {
return;
More information about the nginx-devel
mailing list