empty response with ParallelUA
Justin Caballero (justin@sdsc.edu)
Sun, 02 May 1999 00:03:56 -0700
Hello,
I've been using the LWP::Parallel modules for some months with great
success, but now find myself faced with a problem I can't figure out.
As per the documentation, I register() a set of HTTP::requests and then
call the wait() routine to retrieve them. Recently I've noticed in my
own program's log files that some of the responses for some requests
have status lines like
"000 <empty response>"
Using the debugger, I see that these response objects look to be in an
empty, initialized state. Perusing the Parallel::UserAgent module, I
see that the register() routine initializes new response objects with:
HTTP::Response->new(0, '<empty response>');
So, the best theory I've come up with is that some response objects,
which are initialized successfully in register(), just aren't getting
filled with data when wait() is called. The strange thing is that not
all of my requests are doing this; some come back with complete response
objects.
Does anyone have any idea what I might be doing to cause this type of
behavior or what I should investigate further?
I'm using:
LWP 5.35
LWP::Parallel 2.37
LWP::Parallel::RobotUA 1.2
on various unix systems.
Thanks,
C. Justin Caballero
SDSC