Skip to content
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

3.x - possible fix for HttpPipelineTest hang #4143

Merged
merged 1 commit into from
Apr 19, 2022

Conversation

barchetta
Copy link
Member

This is a possible fix for #3301.

The test class SocketHttpClient was creating a new BufferedReader every time it's receive() method was called. This could potentially loose bytes since an undetermined number of bytes could be read and buffered off of the socket, only to be discarded when the BufferedReader was tossed on the garbage heap.

Or at least that is my theory. The test seems more stable after this fix.

@barchetta barchetta added 3.x Issues for 3.x version branch testing labels Apr 19, 2022
@barchetta barchetta requested a review from spericas April 19, 2022 19:26
@barchetta barchetta self-assigned this Apr 19, 2022
@barchetta barchetta merged commit 884dc60 into helidon-io:master Apr 19, 2022
@barchetta barchetta deleted the 3.x-httppipeline-test-fix branch May 5, 2022 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.x Issues for 3.x version branch testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants