cloudsoft / winrm4j

Apache License 2.0
94 stars 53 forks source link

Fix missing wrapped closing in case closing encrypt interceptor #166

Open knalli opened 1 year ago

knalli commented 1 year ago

If the closing fails -- technically: if processAndShip() fails -- then the actual wrapped stream will not be closed anymore resulting in a resource leak and non-closed connection.