mirror of https://github.com/zlatinb/muwire
close the sockets' OutputStream
parent
01fd58b2ff
commit
f3686b7bdd
|
@ -468,6 +468,7 @@ class ConnectionAcceptor {
|
||||||
else if (version == 2)
|
else if (version == 2)
|
||||||
browseManager.processV2Request(browser, e)
|
browseManager.processV2Request(browser, e)
|
||||||
} finally {
|
} finally {
|
||||||
|
try {e.getOutputStream().close()} catch (IOException ignore) {}
|
||||||
e.close()
|
e.close()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -214,6 +214,7 @@ class BrowseSession implements Runnable {
|
||||||
}
|
}
|
||||||
} finally {
|
} finally {
|
||||||
currentThread = null
|
currentThread = null
|
||||||
|
endpoint?.getOutputStream()?.close()
|
||||||
endpoint?.close()
|
endpoint?.close()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue