You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Maciej Walkowiak <wa...@yahoo.com.INVALID> on 2021/04/05 22:27:37 UTC

Using httpclient 5.0.3 with httpcore 5.0.3

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.

Thanks!
Maciej Walkowiak

Re: Using httpclient 5.0.3 with httpcore 5.0.3

Posted by Oleg Kalnichevski <ol...@apache.org>.

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-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org