Default timeout for HttpComponent Client

thinkanotherone picture thinkanotherone · Mar 16, 2012 · Viewed 42k times · Source

I can't find any documentation on the default httpParams for httpclient 4.1 ?

What's the default socket timeout when I do a GET ?

Answer

beny23 picture beny23 · Mar 16, 2012

According to the documentation, the http.socket.timeout parameter controls the SO_TIMEOUT value, and:

If this parameter is not set, read operations will not time out (infinite timeout).