Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the ParallelUserAgent CPAN distribution.

Report information
The Basics
Id: 46821
Status: new
Priority: 0/
Queue: ParallelUserAgent

Owner: Nobody in particular
Requestors: isabelle [...]
Cc: randomcoder1 [...]

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

CC: Stephane Levy <stephane [...]>
Subject: bug in sub handle_response
Date: Wed, 10 Jun 2009 10:56:07 +0000 (GMT+00:00)
To: bug-ParallelUserAgent [...]
From: Isabelle Cabrera <isabelle [...]>
Download (untitled) / with headers
text/plain 1.2k
Hi, I think I have detected a bug in sub handle_response in It happens when the wait() sub is called: $ua->wait; A DIE happens when it catches the HTTP error 401 : LWP::Parallel::UserAgent::_perform_read: '0' = read_chunk from LWP::Parallel::UserAgent::Entry=HASH(0x9a11640) ( LWP::Parallel::UserAgent::on_return: (, 401, Unauthorized) LWP::Parallel::UserAgent::_perform_read: received '1' from on_return LWP::Parallel::UserAgent::_remove_current_connection: (LWP::Parallel::UserAgent::Entry=HASH(0x9a11640) [] ) LWP::Parallel::UserAgent::handle_response: -> (LWP::Parallel::UserAgent::Entry=HASH(0x9a11640) [] ) LWP::Parallel::UserAgent::handle_response: Handling result: Unauthorized Usage: $h->header($field, ...) at (eval 17) line 1 I started to look at the sub handle_response and noticed that this line was responsible for the DIE: LWP::Debug::trace("<- ($response [".$response->header.'] )'); The sub header (in HTTP::Headers) expects an argument, so it dies. My configuration: I cannot see any version number in LWP::Parallel::UserAgent, but is version 2.57 Perl 5.8.5 OS: Linux Ubuntu Hope this helps. Best regards, Isabelle Cabrera

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

Please report any issues with to