Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: HTTP Request Hangs

by IlyaM (Parson)
on Mar 03, 2003 at 18:39 UTC ( #240116=note: print w/ replies, xml ) Need Help??

in reply to HTTP Request Hangs

Try to enable debug logging in LWP to see what happens (see LWP::Debug). What version of Perl are you using? If you use 5.005 then it comes with IO::Socket module which has a bug in timeout handling (IIRC LWP uses this module). You should upgrade to fixed version in this case.

Ilya Martynov,
Quality Perl Programming and Unix Support UK managed @ offshore prices -
Personal website -

Comment on Re: HTTP Request Hangs
Replies are listed 'Best First'.
Re: Re: HTTP Request Hangs
by Beau Landeaux (Novice) on Mar 04, 2003 at 14:27 UTC
    Running Perl 5.6.0 on Sun. I'll add the LWP::Debug and see what that shows. Any suggestions on how to wrap the request in code that will kill it if it does not complete in a given time (like kicking a job off in BG and killing it it it takes too long)? Thanks for the LWP::Debug tip.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://240116]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2015-10-10 13:11 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (256 votes), past polls