]> source.dussan.org Git - jgit.git/commit
Fix connection leak for smart http connections 39/193939/3
authorSaša Živkov <sasa.zivkov@sap.com>
Fri, 3 Jun 2022 14:36:43 +0000 (16:36 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Mon, 6 Jun 2022 06:14:18 +0000 (08:14 +0200)
commit011c26ff36b9e76c84fc2459e337f159c0f55a9a
treec47edc0c5b2840b271c69318707eef87f18232f8
parentc6b0ee04e49c96e0beec4154196c416abcf2bcc9
Fix connection leak for smart http connections

SmartHttpPushConnection: close InputStream and OutputStream after
processing. Wrap IOExceptions which aren't TransportExceptions already
as a TransportException.

Also-By: Matthias Sohn <matthias.sohn@sap.com>
Change-Id: I8e11d899672fc470c390a455dc86367e92ef9076
org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportHttp.java