Welcome! Log In Create A New Profile

Advanced

[njs] Increased njs_printf() output limit to 16384 bytes.

Dmitry Volyntsev
August 03, 2022 11:52PM
details: https://hg.nginx.org/njs/rev/82e97561e0b4
branches:
changeset: 1923:82e97561e0b4
user: Dmitry Volyntsev <xeioex@nginx.com>
date: Wed Aug 03 20:47:41 2022 -0700
description:
Increased njs_printf() output limit to 16384 bytes.

diffstat:

src/njs_sprintf.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r ffd0f3d3f6df -r 82e97561e0b4 src/njs_sprintf.c
--- a/src/njs_sprintf.c Wed Aug 03 20:26:24 2022 -0700
+++ b/src/njs_sprintf.c Wed Aug 03 20:47:41 2022 -0700
@@ -601,7 +601,7 @@ int
njs_dprintf(int fd, const char *fmt, ...)
{
size_t size;
- u_char text[2048], *p;
+ u_char text[16384], *p;
va_list args;

va_start(args, fmt);
_______________________________________________
nginx-devel mailing list -- nginx-devel@nginx.org
To unsubscribe send an email to nginx-devel-leave@nginx.org
Subject Author Views Posted

[njs] Increased njs_printf() output limit to 16384 bytes.

Dmitry Volyntsev 406 August 03, 2022 11:52PM



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

Online Users

Guests: 250
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready