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

bcMail temporary files not deleted when compression is used (as2-lib 5.1.2) #149

Open
krisztina-zsihovszki opened this issue Apr 2, 2024 · 0 comments
Assignees
Labels

Comments

@krisztina-zsihovszki
Copy link

I am facing a similar issue that was reported here #103, while I am using as2-lib v5.1.2 where the error reported in #103 is already fixed.

It seems the root cause is the same, the SMIMEUtil.toMimeBodyPart call.
In my case the method is invoked in AS2ReceiverHandler.decompress().

The SMIMEUtil.toMimeBodyPart method is called without the AS2ResourceHelper.createTempFile() parameter in AS2ReceiverHandler.
I suppose this is the reason why the temporary bcMail*.mime files are not cleaned up by AS2ResourceHelper.
When compression is not used, no mime file is generated in /tmp directory.

@phax phax self-assigned this Apr 2, 2024
@phax phax added the bug label Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants