iamsanjaymalakar opened a new pull request, #16118:
URL: https://github.com/apache/dubbo/pull/16118

   This PR fixes an exception-safety issue in `CompositeInputStream.close()`. 
Previously, if closing one underlying `InputStream` threw an `IOException`, 
`close()` returned immediately and the remaining streams were never closed, 
potentially leaking resources. The new logic continues closing all queued 
streams, then throws the first `IOException` with later close failures added as 
suppressed exceptions.
   
   Fixes #16117


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to