Before this patch, if a splunk endpoint returned a non-OK status, the splunk driver would read the entire response body. This could lead to excessive memory allocations. Instead put a cap on the amount the driver will read from the response body. Signed-off-by: Brian Goff <cpuguy83@gmail.com> Upstream-commit: 7f14542ddd1401de734be3ac0331c0ada941c959 Component: engine