Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: IO::Socket::INET slower than the LWP::UserAgent how so many?

by sfink (Deacon)
on Oct 20, 2007 at 16:45 UTC ( #646191=note: print w/replies, xml ) Need Help??

in reply to IO::Socket::INET slower than the LWP::UserAgent how so many?

You told it to keep the connection alive, and then tried to read until EOF (when the connection closes). That's not a good combination.

You can either do Connection: close instead of keeping it alive, or you can do what LWP is doing and parse out the Content-Length header and only read that many bytes.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (10)
As of 2016-10-24 08:29 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (304 votes). Check out past polls.