mirror of
https://github.com/apache/jclouds.git
synced 2025-02-20 09:14:55 +00:00
Because the Java type BasicHttpParams wasn't matching the one returned by provider "newBasicHttpParams" (which is returning a HttpParams type), it was configuring the Apache HTTP client with default settings (including connection and socket timeout), ignoring the ones of JClouds which were must safer in this regard (JCloudsones are currently 60sec for both, while Apache HC ones are -1, so infinite). It also prevented to override those default/infinite timeout settings with JClouds ones.