Search code examples
javaapache-httpcomponents

Default timeout for HttpComponent Client


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 ?


Solution

  • 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).