Carter Kozak created HTTPCLIENT-2107:
----------------------------------------

             Summary: PoolingHttpClientConnectionManager unsafe volatile field 
access
                 Key: HTTPCLIENT-2107
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2107
             Project: HttpComponents HttpClient
          Issue Type: Bug
    Affects Versions: 5.0.1
            Reporter: Carter Kozak


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to