-
Notifications
You must be signed in to change notification settings - Fork 356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Threads stuck when jersey client with apache connector is used concurrently #4960
Comments
What Apache HTTP client version is being used? |
We are currently using 4.5.13. |
Relates to #4321. |
I tried to apply the changes from #4321 to the sample of #3772. Threads are still remaining stuck. `import java.net.URI; import javax.ws.rs.client.Client; import org.apache.http.client.config.RequestConfig; import com.spotify.docker.client.LogsResponseReader; import static javax.ws.rs.HttpMethod.; public class MultipleThreadsCountDown {
}` If I understand correctly the changes from #4321, the detection of the needed closing strategy is even automatic Any idea ? |
The sollution for this use case can be to use a user-defined closing strategy:
Unfortunately, while this strategy can help with this use-case, it makes some other use-cases hang. This would need to be investigated. |
Hello Jersey Maintainers,
It seems the bug solved in #3772 came back in version 2.30 and is still present in 2.35.
We ran into it in our product but it is still reproducible using the code sample in #3772.
Thanks in advance for your feedback.
Brs.
Th.
The text was updated successfully, but these errors were encountered: