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

Wrong deadline calculation for non-blocking read operations

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0-beta7
    • Fix Version/s: 5.0-beta8
    • Component/s: HttpCore NIO
    • Labels:
      None

      Description

      Presently the internal data channel calculates the deadline of read operation based on the last read access. Naturally the last read operation timestamp on a persistent (kept-alive) HTTP connection usually points back at the previous message exchange

       https://github.com/apache/httpcomponents-core/blob/master/httpcore5/src/main/java/org/apache/hc/core5/reactor/InternalChannel.java#L64

        Attachments

        1. keep_alive.txt
          4 kB
          Joan Balagueró

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              joan.balaguero@grupoventus.com Joan Balagueró
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: