On Mon, 2025-06-02 at 14:33 +0000, Stankov. Yavor wrote: > Hi, > > I just update the version of the httpclient I'm using from 5.3.1 to > 5.5 and my HTTP application totally stopped working. > > When I check to see what is happening, I saw that my custom > HttpRequestExecutor is not being called anymore. > > I'm relying on some custom logic in the execute method which is being > executed before calling the super.execute, but the exec chain never > gets inside of my HttpRequestExecutor. The method I'm overriding is - > > public ClassicHttpResponse execute(final ClassicHttpRequest > request, > final HttpClientConnection > conn, > final HttpContext context) > > I tried to change from extending the HttpRequestExecutor, to > implementing the newly introduced interface RequestExecutor (I think > in version 5.4) but it didn't work either. > > I'm registering the request executor by using the method: > HttpClientBuilder.create().setRequestExecutor(new > CustomHttpRequestExecutor()) > > I have no other changes made in my application, the only change is > the update to the new version. > > Can you please help me with this one! > > Best Regards, > Yavor >
Hi Yavor I double-checked HttpClientBuilder code and found no obvious regressions there. Please provide a test case reproducing the problem and I will investigate further. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org For additional commands, e-mail: httpclient-users-h...@hc.apache.org