Uploaded image for project: 'HttpComponents HttpCore'
  1. HttpComponents HttpCore
  2. HTTPCORE-720

High CPU usage noticed for Slow writing clients

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.4.15
    • 4.4.16
    • HttpCore NIO
    • None

    Description

      In httpCore NIO v4.4.15, we can observe a CPU spinning condition when a slow writing client sends a HTTPS GET request with a large payload. I have attached a sample HTTP server and a client to reproduce this issue.

      I tried this scenario with the fix [1] as well. Still, this issue was there in java 1.8.0_312.

      Could you please look into this?

      [1]-https://issues.apache.org/jira/browse/HTTPCORE-716

      Thanks,

      Sanoj

      Attachments

        1. testclient.jar
          82 kB
          Sanoj Punchihewa
        2. HttpNIOTestServer.zip
          83 kB
          Sanoj Punchihewa
        3. testclient 2.zip
          90 kB
          Sanoj Punchihewa
        4. HttpNIOTestServer.jar
          744 kB
          Sanoj Punchihewa

        Activity

          People

            Unassigned Unassigned
            sanojpunchihewa Sanoj Punchihewa
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: