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

Dmitry Volyntsev xeioex at nginx.com
Thu Aug 4 03:51:03 UTC 2022


details:   https://hg.nginx.org/njs/rev/82e97561e0b4
branches:  
changeset: 1923:82e97561e0b4
user:      Dmitry Volyntsev <xeioex at 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);



More information about the nginx-devel mailing list