Skip Menu |

This queue is for tickets about the Mail-IMAPClient CPAN distribution.

Report information
The Basics
Id: 132654
Status: new
Priority: 0/
Queue: Mail-IMAPClient

Owner: PLOBBES [...]
Requestors: e [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)


Subject: [PATCH] avoid cyclic reference on ->compress
Date: Mon, 18 May 2020 21:12:56 +0000
To: bug-Mail-IMAPClient [...]
From: Eric Wong <e [...]>
Download (untitled) / with headers
text/plain 455b
Hello, I noticed enabling compression causes a memory leak. This leak gets bad with long-lived processes and flaky (mobile) connections requiring frequent reconnects. Attached is a small patch which fixes the issue. If you want, I can also provide a bigger patch which avoids anonymous subs in ->compress entirely. I find anonymous subs error-prone and a frequent source of mistakes like these which lead to memory leaks. Thanks for Mail::IMAPClient!

Message body is not shown because sender requested not to inline it.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to