Welcome! Log In Create A New Profile

Advanced

[njs] Shell: increased max output size for console.log() to 32768.

Dmitry Volyntsev
January 18, 2023 11:08PM
details: https://hg.nginx.org/njs/rev/8b9414a6e557
branches:
changeset: 2026:8b9414a6e557
user: Dmitry Volyntsev <xeioex@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;
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] Shell: increased max output size for console.log() to 32768.

Dmitry Volyntsev 587 January 18, 2023 11:08PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 186
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready