There was a "freeze 3000 milliseconds" bug in at least httpcore
4.3-alpha1, 4.3-beta1 and 4.3-beta2 that is **not present** in the ultimate
4.3 release. I've not been able to find the commit that fixed it, or an
issue mapped to it.
I can give you a Maven project that reproduces the problem on Github, but
that's really not important ....
... If you would simply release a version of fluent-hc that would use
httpcore-4.3 (amongst others at the same version number), then my problem
goes away :) You see, the current release of fluent-hc (4.3-beta2) depends
on 4.3-beta2 of httpcore (where the bug is).
I tried the following in my project ...
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>fluent-hc</artifactId>
<version>4.3-beta2</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
<version>4.3</version>
<scope>test</scope>
</dependency>
... but I get ...
java.lang.NoClassDefFoundError:
org/apache/http/client/params/HttpClientParamConfig
at org.apache.http.client.fluent.Request.execute(Request.java:147)
....
Caused by: java.lang.ClassNotFoundException:
org.apache.http.client.params.HttpClientParamConfig
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
Thus, I think y'all need to do a 4.3 release of fluent-hc, and I park the
Maven dependency hackery for now.
Thoughts?
Regards,
- Paul