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

RuntimeWSDLParser does not close URL InputStream in case of errors #684

Open
iamtakingiteasy opened this issue Apr 8, 2024 · 0 comments

Comments

@iamtakingiteasy
Copy link

iamtakingiteasy commented Apr 8, 2024

Affected version: jaxws-rt:4.0.2

In case of http/https URL not returning valid WSDL definition, RuntimeWSDLParser does not close the first URL InputStream opened before trying the same URL with ?wsdl appended, leading to a resource leak, which is typically constant, but can start accumulating in case WSDL definitions are resolved dynamically in runtime.

It can also interfere with bytecode advices around URLConnections.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant