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

High CPU usage when client sends a request with invalid protocol

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 4.4.14, 4.4.15
    • None
    • HttpCore NIO
    • None

    Description

      In httpCore NIO v4.4.15, we can observe a CPU spinning condition when the client sends a request with an invalid protocol header. We have attached a sample HTTP server and a client to reproduce this issue in JDK v1.8.0-272. 

      Could you please look into this?

      Thanks,

      Sanoj

      Attachments

        1. testclient 2.zip
          88 kB
          Sanoj Punchihewa
        2. HttpNIOTestServer.zip
          83 kB
          Sanoj Punchihewa
        3. HttpNIOTestServer.jar
          744 kB
          Sanoj Punchihewa
        4. testclient.jar
          77 kB
          Sanoj Punchihewa

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: