Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-2411

Upgrade Apache HttpComponents5 to 5.1.3

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 14.4-rc-1
    • 14.3-rc-1
    • Dependency Upgrades
    • None
    • Unknown
    • N/A

    Description

      From version 5.1.

      See https://downloads.apache.org/httpcomponents/httpclient/RELEASE_NOTES-5.1.x.txt

      Release 5.1.3
      -----------
      
      This release upgrades HttpCore to the latest 5.1 version and fixes a number of issues found
      since release 5.1.2.
      
      Change Log
      -------------------
      
      * Fixed incompatibility with older versions of Android shipping with Commons Codec < 1.4.
        Contributed by Oleg Kalnichevski <olegk at apache.org>
      
      * Bug fix: ByteArrayBuilder incorrectly handles empty strings.
        Contributed by Oleg Kalnichevski <olegk at apache.org>
      
      * HTTPCLIENT-2195, regression: classic ConnectExec incorrectly discards the proxy response body
        even if the request cannot be executed and the response is final.
        Contributed by Oleg Kalnichevski <olegk at apache.org>
      
      * HTTPCLIENT-2194: async retries not including body (#343).
        Contributed by Jason Mathison <JasonMathison at users.noreply.github.com>
      
      * Automatically retry requests that failed with RequestNotExecutedException.
        Contributed by Oleg Kalnichevski <olegk at apache.org>
      
      * Bug fix: Incorrect connection validity check in the async connection manager can cause
        an IllegalStateException and lead to a connection leak. Treat closed connections as valid
        due to the connection open check being inherently racy.
        Contributed by Oleg Kalnichevski <olegk at apache.org>
      
      * Bump log4j to 2.12.3
        Contributed by mxd4 <maxime_droy at ultimatesoftware.com>
      
      
      Release 5.1.2
      -----------
      
      This is an emergency release that fixes a regression introduced in the previous release
      that can lead to a connection leak when executing requests with a non-repeatable streaming
      entity with the classic (blocking) HttpClient. Async and minimal HttpClient implementations
      are not affected by the regression.
      
      Change Log
      -------------------
      
      * HTTPCLIENT-2184: Fixed regression in the connection reuse logic of the classic (blocking)
        request execution pipeline.
      
      
      Release 5.1.1
      -----------
      
      This release upgrades HttpCore to the latest 5.1 version and fixes a number of issues found
      since release 5.1.
      
      
      Change Log
      -------------------
      
      * Don't initialize AtomicReference to its default value.
        Contributed by Gary Gregory <ggregory at apache.org>
      
      * Corrected resolution of the target host in DefaultUserTokenHandler.
        Contributed by Oleg Kalnichevski <olegk at apache.org>
      
      * HTTPCLIENT-2177: automatically force HTTP/1.1 protocol policy when executing requests
        via a proxy tunnel.
        Contributed by Oleg Kalnichevski <olegk at apache.org>
      
      * HTTPCLIENT-2177: fixed incorrect route state tracking by the async connect executor
        when negotiating a tunnel via a proxy.
        Contributed by Oleg Kalnichevski <olegk at apache.org>
      
      * HTTPCLIENT-2177: keep successful tunnel connections alive regardless of `Connection: close`.
        Contributed by Oleg Kalnichevski <olegk at apache.org>
      
      * HTTPCLIENT-2173: async pooling connection manager to close half-open connection gracefully.
        Contributed by Oleg Kalnichevski <olegk at apache.org>
      
      * Don't retry a request for NoRouteToHostException.
        Contributed by Jaikiran Pai <jaikiran.pai at gmail.com>
      
      * HTTPCLIENT-2170: Classic protocol layer no longer releases the underlying connection back
        to the pool prematurely while the NTLM handshake is still ongoing.
        Contributed by Oleg Kalnichevski <olegk at apache.org>
      
      * Fixed connection lease request cancellation race in both classic and asyc pooling connection
        managers.
        Contributed by Oleg Kalnichevski <olegk at apache.org>
      

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: