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

fix stream closed error when using a URL in the config #484

Merged
merged 2 commits into from
Jan 25, 2023
Merged

Conversation

kunli2
Copy link
Contributor

@kunli2 kunli2 commented Jan 25, 2023

Fix issue #483.

root cause

The "try-with-resources" block closed the response automatically, so at the consuming place of the config.inputStream, when reading from the stream, it has been closed.

@kunli2 kunli2 added the bug Something isn't working label Jan 25, 2023
@kunli2 kunli2 merged commit b6fd19b into main Jan 25, 2023
@kunli2 kunli2 deleted the kunli/fix-483 branch January 25, 2023 03:02
@timtebeek timtebeek added this to the 4.40.0 milestone Feb 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants