Skip to content

Commit

Permalink
fix: memory fix in safeRequest via nimutils
Browse files Browse the repository at this point in the history
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
  • Loading branch information
miki725 committed Nov 8, 2024
1 parent 75b60d1 commit 3eedb5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chalk.nimble
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3eedb5d

Please # to comment.