From 3eedb5de0e7b76e38adb82552f0f484826a676f8 Mon Sep 17 00:00:00 2001 From: Miroslav Shubernetskiy Date: Fri, 8 Nov 2024 13:19:35 -0500 Subject: [PATCH] fix: memory fix in safeRequest via nimutils safeRequest was creating new SSL context for each request however it was not property getting cleaned up via destroyContext(). As such each request was computing fresh SSL context which included all root certs which would accumulate ~1Mb of memory --- chalk.nimble | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chalk.nimble b/chalk.nimble index b9c0dfd6..5ce4d3de 100644 --- a/chalk.nimble +++ b/chalk.nimble @@ -11,7 +11,7 @@ bin = @["chalk"] # Dependencies requires "nim >= 2.0.8" -requires "https://github.com/crashappsec/con4m#57c908650544ab045a3a9aa6f26d274b1859d238" +requires "https://github.com/crashappsec/con4m#14a351602fb09f867dde12a3f7c4c998047ecfd9" requires "https://github.com/viega/zippy == 0.10.7" # MIT # this allows us to get version externally