Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-44751

Update Apache httpcore 5.0.3 & 4.4.14

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: RESOLVED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 20.1
    • Fix Version/s: 22.0 [Tentative]
    • Component/s: Master
    • Labels:
      None
    • Test Plan:

      Description

      Release 4.4.14
      -------------------

      This is a maintenance release that corrects a number of defects discovered since release 4.4.13
      including two defects in the async (non-blocking) transport potentially causing an infinite
      event loop and and excessive CPU utilization.

      Changelog
      -------------------

      • PR #231: 4.4.x Use better map apis and more.
      • Make better use of Map APIs.
      • Remove redundant modifiers.
      • Use Collections.addAll() API instead of loops.
      • Remove redundant returns.
      • No need to explicitly declare an array when calling a vararg method.
      • Remote extra semicolons (.
        Contributed by Gary Gregory <ggregory at apache.org>
      • Bug fix: Non-blocking TLSv1.3 connections can end up in an infinite event spin when closed
        concurrently by the local and the remote endpoints.
        Contributed by Oleg Kalnichevski <olegk at apache.org>
      • HTTPCORE-647: Non-blocking connection terminated due to 'java.io.IOException: Broken pipe'
        can enter an infinite loop flushing buffered output data.
        Contributed by Oleg Kalnichevski <olegk at apache.org>
      • PR #201, HTTPCORE-634: Fix race condition in AbstractConnPool that can cause internal state
        corruption when persistent connections are manually removed from the pool.
        Contributed by djelinski <30433125+djelinski at users.noreply.github.com>

      Release 5.0.3
      ------------------

      This is a maintenance release that corrects a number of defects discovered since
      release 5.0.2 including a defect in the async (non-blocking) transport potentially
      causing an infinite event loop and and excessive CPU utilization.

      Change Log
      -------------------

      • PR #232: Master try w res and more.
      • Use try-with-resources.
      • Use diamonds.
      • Add missing @Override.
      • Make better use of Map APIs.
      • Remove redundant modifiers. …
      • Use Collections.addAll() API instead of loops.
      • Remote extra semicolons (.
        Contributed by Gary Gregory <garydgregory at gmail.com>
      • Bug fix: Fix ignoring maxResultLength in toString method of EntityUtils.
        Contributed by Klaw <Klawrar at gmail.com>
      • Bug fix: Correct handling of pushed stream refusal by the HTTP/2 protocol handler.
        Contributed by Oleg Kalnichevski <olegk at apache.org>
      • Improved Connection re-use (keep-alive) tracking by the benchmark; disabled H2 push
        when running the benchmark with HTTP/2.
        Contributed by Oleg Kalnichevski <olegk at apache.org>
      • Improve detection of disconnected endpoints by HttpAsyncRequester.
        Contributed by Oleg Kalnichevski <olegk at apache.org>
      • HTTPCORE-626: In case of an unsuccessful `expect-continue` handshake, do not
        attempt to keep the client connection in a consistent state if the server intends
        to close it on its end.
        Contributed by Oleg Kalnichevski <olegk at apache.org>
      • Move decision if the I/O session is to be terminated immediately to the protocol
        handler by default attempt to terminate the I/O session gracefully.
        Contributed by Oleg Kalnichevski <olegk at apache.org>
      • Optimize request termination by the non-blocking HTTP/1.1 protocol handler in case of
        a premature response or `expect-continue` handshake failure.
        Contributed by Oleg Kalnichevski <olegk at apache.org>
      • `AbstractAsyncResponseConsumer` gracefully handles an inconsistent state caused by
        the caller signalling a response with no entity but subsequently calling methods
        to consume data.
        Contributed by Oleg Kalnichevski <olegk at apache.org>
      • HTTPCORE-653: CancelledKeyException triggers I/O reactor shutdown.
        Contributed by Oleg Kalnichevski <olegk at apache.org>
      • Make `ReactiveDataConsumer#failed` a no-op if it has already been marked as complete
        (#227).
        Contributed by Colin Weld <c_weld at backblaze.com>
      • HTTPCORE-644: Non-blocking TLSv1.3 connections can end up in an infinite event spin
        when closed concurrently by the local and the remote endpoints.
        Contributed by Oleg Kalnichevski <olegk at apache.org>
      • Calculate pendingOutputRequests before calling produceOutput to avoid race condition.
        Contributed by Colin Weld <c_weld at backblaze.com>

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                dhorwitz David Horwitz
                Reporter:
                dhorwitz David Horwitz
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration