From 9b34997f1a6f50c0240eeaa05071f9137d1624b7 Mon Sep 17 00:00:00 2001 From: Brian Kennedy Date: Fri, 15 Nov 2024 12:44:20 -0800 Subject: [PATCH] 1.8.3 Adding max body size to config and buffering at most that number of bytes --- moesif-servlet/pom.xml | 2 +- .../src/main/java/com/moesif/servlet/MoesifConfiguration.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/moesif-servlet/pom.xml b/moesif-servlet/pom.xml index 634d240..6d1a794 100644 --- a/moesif-servlet/pom.xml +++ b/moesif-servlet/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.moesif.servlet moesif-servlet - 1.8.2 + 1.8.3 jar moesif-servlet Moesif SDK for Java Servlet to log and analyze API calls diff --git a/moesif-servlet/src/main/java/com/moesif/servlet/MoesifConfiguration.java b/moesif-servlet/src/main/java/com/moesif/servlet/MoesifConfiguration.java index a989915..798bfff 100644 --- a/moesif-servlet/src/main/java/com/moesif/servlet/MoesifConfiguration.java +++ b/moesif-servlet/src/main/java/com/moesif/servlet/MoesifConfiguration.java @@ -51,6 +51,7 @@ public EventModel maskContent(EventModel eventModel) { public int queueSize = 1000000; // maximum queue capacity to hold events. public int retry = 0; // how many times to retry, if fails to post events.ß public int updateConfigTime = 5*60; // in seconds - time to update app config periodically. + public int maxBodySize = 450 * 1024; // in bytes - max body size to capture. @Deprecated public String getTags(HttpServletRequest request, HttpServletResponse response) {