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

Thread spinning at ChunkEncoder.write method

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • Stuck
    • None
    • HttpCore NIO
    • None

    Description

      My application is using the HttpCore-nio-4.3.3 component.I am facing the a thread spinning issue related to HTTP Core dependency.I have attached the log file.
      I found the same issue is reported in apache mail archive for the httpcore 4.3.3.
      https://www.mail-archive.com/dev@hc.apache.org/msg17340.html

      In which they have provided the below solution to resolved this issue:

      After replacing the while loop in the ChunkEncorder  with a if statement, we were able to solve the thread spinning issue. However, we couldn't figure out the root cause that makes the while loop spin forever.

      https://www.mail-archive.com/dev@hc.apache.org/msg17563.html

      But in the master branch of httpcore this fixed is not present in ChunkEncoder file.Please let me know this issue is fixed in latest releases or not?

      If it is fixed please help me to know where you have fixed this issue in httpcore.

      Attachments

        1. Error-logs.txt
          2 kB
          M0nika

        Activity

          People

            Unassigned Unassigned
            Sharm@ M0nika
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: