summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_tstr.h
diff options
context:
space:
mode:
authorZhidao HONG <z.hong@f5.com>2024-10-14 15:10:06 +0800
committerZhidao HONG <z.hong@f5.com>2024-10-22 13:40:50 +0800
commitde430edae585d40dacec20dcf4324d7c0ee8fba1 (patch)
treef8f87e2a5c456b9608c81cadf61dd04cf72e2e6e /src/nxt_tstr.h
parentf6036bbc7c798133e95d107ef99f289281366b0d (diff)
downloadunit-de430edae585d40dacec20dcf4324d7c0ee8fba1.tar.gz
unit-de430edae585d40dacec20dcf4324d7c0ee8fba1.tar.bz2
Add flag for newline control in access log entries
This commit introduces a new flag to control the addition of newline characters in access log entries. This is prepared for fixing the issue where log entries lack newlines when using JS configuration.
Diffstat (limited to 'src/nxt_tstr.h')
-rw-r--r--src/nxt_tstr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nxt_tstr.h b/src/nxt_tstr.h
index aca74e20..8e3cdb93 100644
--- a/src/nxt_tstr.h
+++ b/src/nxt_tstr.h
@@ -34,6 +34,7 @@ typedef struct {
typedef enum {
NXT_TSTR_STRZ = 1 << 0,
NXT_TSTR_LOGGING = 1 << 1,
+ NXT_TSTR_NEWLINE = 1 << 2,
} nxt_tstr_flags_t;