Uploaded image for project: 'HttpComponents HttpClient'
  1. HttpComponents HttpClient
  2. HTTPCLIENT-2107

PoolingHttpClientConnectionManager unsafe volatile field access

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 5.0.1
    • 5.0.2
    • None
    • None

    Description

      PoolingHttpClientConnectionManager assumes subsequent volatile reads on validateAfterInactivity and defaultSocketConfig result in the same value, which can result n incorrect assumptions or even null pointer exceptions.

      We should read a snapshot to a local variable, and reuse the local snapshot.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ckozak Carter Kozak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m