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

People
Owner: PLOBBES [...] cpan.org
Requestors: e [...] yhbt.net
Cc:
AdminCc:

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

Attachments
0001-avoid-cyclic-reference-on-compress.patch



Subject: [PATCH] avoid cyclic reference on ->compress
Date: Mon, 18 May 2020 21:12:56 +0000
To: bug-Mail-IMAPClient [...] rt.cpan.org
From: Eric Wong <e [...] yhbt.net>
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 Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.