Skip Menu |
 

This queue is for tickets about the HTTP-Message CPAN distribution.

Report information
The Basics
Id: 105929
Status: resolved
Priority: 0/
Queue: HTTP-Message

People
Owner: Nobody in particular
Requestors: blue [...] thisisnotmyrealemail.com
Cc:
AdminCc:

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



Subject: new uninitialized warning from HTTP::Message
Download (untitled) / with headers
text/plain 148b
An uninitialized warning message is coming from HTTP::Config on line 43. This seems to only happen when an LWP handler is set (via set_my_handler).
Download (untitled) / with headers
text/plain 322b
On 2015-07-17 21:18:32, blue wrote: Show quoted text
> An uninitialized warning message is coming from HTTP::Config on line > 43. This seems to only happen when an LWP handler is set (via > set_my_handler).
A snippet of example code that demonstrates this would be extremely helpful, as I have not been able to create a reproduction case.
From: blue [...] thisisnotmyrealemail.com
Download (untitled) / with headers
text/plain 761b
On Sat Jul 18 18:18:08 2015, ETHER wrote: Show quoted text
> On 2015-07-17 21:18:32, blue wrote:
> > An uninitialized warning message is coming from HTTP::Config on line > > 43. This seems to only happen when an LWP handler is set (via > > set_my_handler).
> > A snippet of example code that demonstrates this would be extremely > helpful, as I have not been able to create a reproduction case.
I narrowed it down to when a handler is set, then deleted by using the documented method of setting the handler for that phase to undef: #!/usr/bin/env perl use strict; use warnings; use LWP::UserAgent; my $ua = LWP::UserAgent->new; $ua->set_my_handler(request_send => sub { shift->dump; return }); $ua->set_my_handler(request_send => undef); $ua->get('https://www.google.com/');
Ok, fixed in release 6.09!


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.