[
https://issues.apache.org/jira/browse/HTTPCLIENT-2107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Oleg Kalnichevski resolved HTTPCLIENT-2107.
-------------------------------------------
Fix Version/s: 5.0.2
Resolution: Fixed
> 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
> Priority: Minor
> Fix For: 5.0.2
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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]