Should I still set ConnectionRequestTimeout on Apache HttpClient if I don't use a custom connection manager?
<p>I am using <a href="https://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/client/config/RequestConfig.html">Apache RequestConfig</a> to configure some timeouts on my <code>HttpClient</code>.</p>

<pre><code>RequestConfig config = RequestConfig.custom()
        .setConnectTimeout(timeout)
        .setSocketTimeout(timeout)
        .setConnectionRequestTimeout(timeout) // Can I leave this out..
        .build();

CloseableHttpClient httpClient = HttpClients.custom()
        //.setConnectionManager(connectionManager) // ..if I don't use this
        .setDefaultRequestConfig(config)
        .build();
</code></pre>

<p>Does it make any sense to call <code>setConnectionRequestTimeout(timeout)</code> even I don't have a custom Connection Manager / Pool set up? </p>

<p>As far as I understand, <code>setConnectionRequestTimeout(timeout)</code> is used to set the time to wait for a connection from the connection manager/pool.</p>

<p>Note that I am not setting a Connection Manager on the <code>httpClient</code> (see commented line). </p>