Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak and json output #90

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kuzaxak
Copy link

@kuzaxak kuzaxak commented Dec 15, 2024

I fixed the memory leak mentioned in #88 and added verbose json output for making it easier to parse the response.

We want to make sure that developers can easily operate with antivirus.
For that we need to make response easily parsable.

With extended JSON output I want to make sure that we can distinguish
between files encrypted with password and infected files.
Cleaning up temporary files created by multipart form parsing should
resolve growing local FS.

`make(chan bool)` is created but never closed, which cause a memory
leak.
@kuzaxak kuzaxak mentioned this pull request Dec 15, 2024
@kuzaxak
Copy link
Author

kuzaxak commented Dec 15, 2024

SCR-20241215-lmby

@kuzaxak
Copy link
Author

kuzaxak commented Dec 15, 2024

SCR-20241215-liyx

Original mem leak

@kuzaxak
Copy link
Author

kuzaxak commented Dec 17, 2024

@James-Royds-HO Hey, could you please have a look? I believe mem leak is annoying for many users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant