[JIRA] (MDA-279) DOMResourceStage should close the input stream it gets from the resource
Ian Young (Jira)
jira at shibboleth.atlassian.net
Tue Mar 14 13:47:42 UTC 2023
Ian Young ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae127cb03-43ed-473d-b6ba-592949cb4be8 ) *created* an issue
Metadata Aggregator ( https://shibboleth.atlassian.net/browse/MDA?atlOrigin=eyJpIjoiMWQ5OTdhOGRmNDIxNDRiYzlhZGRiNTE1ZGY5MGU1MGIiLCJwIjoiaiJ9 ) / Bug ( https://shibboleth.atlassian.net/browse/MDA-279?atlOrigin=eyJpIjoiMWQ5OTdhOGRmNDIxNDRiYzlhZGRiNTE1ZGY5MGU1MGIiLCJwIjoiaiJ9 ) MDA-279 ( https://shibboleth.atlassian.net/browse/MDA-279?atlOrigin=eyJpIjoiMWQ5OTdhOGRmNDIxNDRiYzlhZGRiNTE1ZGY5MGU1MGIiLCJwIjoiaiJ9 ) DOMResourceStage should close the input stream it gets from the resource ( https://shibboleth.atlassian.net/browse/MDA-279?atlOrigin=eyJpIjoiMWQ5OTdhOGRmNDIxNDRiYzlhZGRiNTE1ZGY5MGU1MGIiLCJwIjoiaiJ9 )
Issue Type: Bug Affects Versions: 0.9.2 Assignee: Ian Young ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae127cb03-43ed-473d-b6ba-592949cb4be8 ) Components: DOM Metadata Created: 14/Mar/23 9:47 AM Fix Versions: 0.10.0 Priority: Trivial Reporter: Ian Young ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae127cb03-43ed-473d-b6ba-592949cb4be8 )
It may be handled already in some non-obvious way, but DOMResourceStage acquires an InputStream from the Resource it is handed, and I can’t see that being closed. This seems like a potential resource leak for some applications.
Investigate and fix if necessary.
( https://shibboleth.atlassian.net/browse/MDA-279#add-comment?atlOrigin=eyJpIjoiMWQ5OTdhOGRmNDIxNDRiYzlhZGRiNTE1ZGY5MGU1MGIiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/MDA-279#add-comment?atlOrigin=eyJpIjoiMWQ5OTdhOGRmNDIxNDRiYzlhZGRiNTE1ZGY5MGU1MGIiLCJwIjoiaiJ9 )
Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100217- sha1:7167dc8 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20230314/de87e4de/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-93f16c61-a173-4ae8-a48b-8f5a2055dcce
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230314/de87e4de/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-trivial-0f9156ae-713d-4c26-928e-2b53652d6dd2
Type: image/png
Size: 446 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230314/de87e4de/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-2f978029-3739-43d3-898b-d8af8850ce8a
Type: image/png
Size: 345 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230314/de87e4de/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-cd952d1f-4575-4009-ba63-96ccbb4e2d7c
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230314/de87e4de/attachment-0007.png>
More information about the commits
mailing list