Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^9: How to make an HTTP request with an equivalent of curl's --max-time?

by Cody Fendant (Hermit)
on Jan 14, 2015 at 22:24 UTC ( [id://1113273]=note: print w/replies, xml ) Need Help??


in reply to Re^8: How to make an HTTP request with an equivalent of curl's --max-time?
in thread How to make an HTTP request with an equivalent of curl's --max-time?

Thanks for that explanation. Yes, it's true that I need both kinds of timeout. Currently I hold the connection open for 180 seconds which gives me 35-40 MB of tweets in a roughly 10,000-line file. If I wanted more, I'd increase that value. The other kind of timeout would presumably cause it to close down if the network or Twitter were having problems and I'd get nothing, but that's a different case.

  • Comment on Re^9: How to make an HTTP request with an equivalent of curl's --max-time?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2026-01-14 11:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (118 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.