Subject: | Re: POE::Component::Client::HTTP not working on yahoo.com |
Date: | Mon, 21 Aug 2006 14:49:32 +0530 |
To: | Rocco Caputo <roccoc [...] yahoo-inc.com> |
From: | Harish J P <harishjp [...] yahoo-inc.com> |
Hi,
HTTP.pm was accessing wheel function from an undefined value in the
line 727 after a timeout. I have changed it to do exactly like the
remove_request function. I have attached the diffs. Can you merge it
or make appropriate stuff and build a new package?
--
Thanks,
Harish.
727,731c727,728
< if (defined $request) {
< $request->remove_timeout();
< if (my $wheel = $request->wheel) {
< delete $heap->{wheel_to_request}->{$wheel->ID};
< }
---
Show quoted text
> if (my $wheel = $request->wheel) {
> delete $heap->{wheel_to_request}->{$wheel->ID};
732a730
Show quoted text> $request->remove_timeout() if $request;