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.
In reply to Re^9: How to make an HTTP request with an equivalent of curl's --max-time?
by Cody Fendant
in thread How to make an HTTP request with an equivalent of curl's --max-time?
by Cody Fendant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |