Improve how HttpConnection detects a closed channel when taking/returning a connection to the pool

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 17
    • Affects Version/s: None
    • Component/s: core-libs
    • b11

      There is a race condition when the server closes a connection at roughly the same time that the client takes it of the pool. This is particularly observable when the server/proxy closes the connection just after returning 401/407, but can also be observed in other circumstances.
      The detection of a channel state could be improved by attempting to read one character off the connection just after taking the connection off the pool.

            Assignee:
            Daniel Fuchs
            Reporter:
            Daniel Fuchs
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: