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

Fix memory leak if headers are requested parsed #2

Conversation

ChristophWurst
Copy link

Parsed headers are converted into a memory stream before the actual
parsing. Without this patch the stream stays open.

Downstream of horde#18

@ChristophWurst
Copy link
Author

cc @bytestream

Parsed headers are converted into a memory stream before the actual
parsing. Without this patch the stream stays open.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
@ChristophWurst ChristophWurst force-pushed the fix/fetch-parsed-headers-memory-leak branch from 46cf1e3 to 9494d02 Compare May 11, 2022 12:08
@bytestream bytestream merged commit 75f941c into bytestream:master May 11, 2022
@bytestream
Copy link
Owner

Thank you ❤️

@ChristophWurst ChristophWurst deleted the fix/fetch-parsed-headers-memory-leak branch November 4, 2024 14:07
st3iny pushed a commit to st3iny/horde-imap-client that referenced this pull request Nov 4, 2024
* Add __serialize/__unserialize

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>

* Update lib/Horde/Stream.php

Co-authored-by: Kieran <kieran.brahney@gmail.com>
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.

2 participants