Skip Menu |

This queue is for tickets about the POE-Component-Client-HTTP CPAN distribution.

Report information
The Basics
Id: 12685
Status: resolved
Priority: 0/
Queue: POE-Component-Client-HTTP

People
Owner: RCAPUTO [...] cpan.org
Requestors: davanger [...] madrid.sight.es
Cc:
AdminCc:

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



Date: Wed, 27 Apr 2005 23:54:29 +0200
From: Fabricio Martinez <davanger [...] madrid.sight.es>
To: rcaputo [...] cpan.org
Subject: Client::HTTP
Sorry to bother you but I would like to know if it was possible to add a destructor to the module. I have created 2 scripts one that uses POE's UserAgent and another with Client::HTTP. I prefer Client::HTTP as it is much faster but it does not have a destructor (shutdown) and for some reason its eating too much memory. This does not happen with the other script and I do store practically any data in memory because I use a MySQL DB for practically everything. Thanks, Fabricio Martínez
On Thu May 05 04:04:16 2005, davanger@madrid.sight.es wrote: Show quoted text
> Sorry to bother you but I would like to know if it was possible to add a > destructor to the module. I have created 2 scripts one that uses POE's > UserAgent and another with Client::HTTP. I prefer Client::HTTP as it is > much faster but it does not have a destructor (shutdown) and for some > reason its eating too much memory. This does not happen with the other > script and I do store practically any data in memory because I use a > MySQL DB for practically everything.
Hi, Fabricio. This seems to be two issues: The component needs a shutdown() method, and the component is leaking memory. I've committed a new version with a shutdown() method. It'll be uploaded to CPAN shortly. Please open a new ticket if you're still encountering memory leaks.