This is an automated email from the ASF dual-hosted git repository. zrhoffman pushed a commit to branch 6.0.x in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git
commit 4d6272baa104e4bafe826bb531752f3ea7b173cf Author: Evan Zelkowitz <[email protected]> AuthorDate: Tue Sep 14 14:38:27 2021 -0600 Increasing astats string buffer size. We have seen astats config ip lists going beyond the existing 1k limit and being truncated. There is a proper rewrite on the way but this temporary fix can suffice for a while (#6212) (cherry picked from commit ed8ac2fb4295353be4b9c0b25146cc444fd2a799) --- traffic_server/plugins/astats_over_http/astats_over_http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/traffic_server/plugins/astats_over_http/astats_over_http.c b/traffic_server/plugins/astats_over_http/astats_over_http.c index 1ac5dc6..df3adec 100644 --- a/traffic_server/plugins/astats_over_http/astats_over_http.c +++ b/traffic_server/plugins/astats_over_http/astats_over_http.c @@ -65,7 +65,7 @@ static int config_handler(TSCont cont, TSEvent event, void *edata); static config_t* get_config(TSCont cont); static config_holder_t* new_config_holder(const char* path); -#define STR_BUFFER_SIZE 1024 +#define STR_BUFFER_SIZE 65536 #define SYSTEM_RECORD_TYPE (0x100) #define DEFAULT_RECORD_TYPES (SYSTEM_RECORD_TYPE | TS_RECORDTYPE_PROCESS | TS_RECORDTYPE_PLUGIN)
