On 4/6/2021 12:27 AM, Maciej Walkowiak wrote:
Hi, We use httpclient 5.0.3 as a dependency to our library. One of our library users run into an issue where http client run into possibly infinite loop and started consuming all available CPU. We are unfortunately not able to reproduce it. httpclient 5.0.3 - the latest stable version - uses httpcore and httpcore-h2 in version 5.0.2 The latest stable version of httpcore & httpcore-h2 is 5.0.3 which contains a fix for "a defect in the async (non-blocking) transport potentially causing an infinite event loop and and excessive CPU utilization” (https://hc.apache.org/news.html <https://hc.apache.org/news.html>) which sounds like a potential fix to our problem. As far as I can see there was no httpclient release using this version of httpcore. This brings me to final question - is httpclient 5.0.3 compatible with httpcore & httpcore-h2 in version 5.0.2? It seems like projects follow semantic versioning so it should be, but since there was no httpclient release depending on the latest httpcore I would like to double check.
HttpClient 5.0.3 is expected to be fully compatible with HttpCore 5.x all versions greater than 5.0.2. It should work with 5.0.3 GA and 5.1 GA releases.
Hope this helps Oleg
Thanks! Maciej Walkowiak
--------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org For additional commands, e-mail: httpclient-users-h...@hc.apache.org