Skip to content

Upgrade HttpComponentsHttpInvokerRequestExecutor to require Apache HttpComponents 4.3 [SPR-11113] #15739

Closed

Description

@spring-projects-issues

Phil Webb opened SPR-11113 and commented

We didn't want to bump the minimum version up to the recently released HttpComponents 4.3 for Spring 4.0 quite yet, at least not for HttpComponentsHttpInvokerRequestExecutor - rather just for async support in other places.

However, due to plenty of deprecations, we should raise the bar in Spring 4.1 then, once HttpComponents 4.3 has been out for half a year at least. (Note: We raised to HttpComponents 4.2 in Spring 3.2 after about the same time of availability.)


Affects: 4.0 GA

Issue Links:

0 votes, 5 watchers

Activity

  1. spring-projects-issues commented on Dec 19, 2014

    @spring-projects-issues
    CollaboratorAuthor

    Stéphane Nicoll commented

    #17135 actually revealed that our support was broken with 4.3 so we should probably review the current patch and apply it for 4.1 still.

  2. spring-projects-issues commented on Dec 22, 2014

    @spring-projects-issues
    CollaboratorAuthor

    Stéphane Nicoll commented

    HttpComponents 4.3 is now required and has been updated to handle both the new CloseableHttpClient and the (now) deprecated HttpClient. In both cases, socket and read timeout set on the executor instance takes precedence over values set on the HttpClient directly.

    If you want the defaults of the current HttpClient to takes precedence you can override createRequestConfig as explained in the Javadoc.

  3. added this to the 4.1.4 milestone on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

type: enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions