We've had some issues with LWP::UserAgent in processes that receive signals. Any signal arriving during a request seems to cause the UA to think it is a socket timeout, when it has been some other signal (ALRM, CHLD, etc) instead.
After looking into the code, we have a possible fix for the can_read
method in LWP::Protocol::http::SocketMethods that re-tries if the
select call returns -1 and errno was 4 (EINTR).
A test program (with a new can_read method) is attached.
We're not on the mailing list, so if you don't mind, please CC us on
replies.
Thank you,
Kyle R. Burton
--
------------------------------------------------------------------------------
Wisdom and Compassion are inseparable.
-- Christmas Humphreys
[EMAIL PROTECTED] http://www.voicenet.com/~mortis
------------------------------------------------------------------------------
potential_lwp_fix.pl
Description: Perl program
