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)
|
||||
browseManager.processV2Request(browser, e)
|
||||
} finally {
|
||||
try {e.getOutputStream().close()} catch (IOException ignore) {}
|
||||
e.close()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -214,6 +214,7 @@ class BrowseSession implements Runnable {
|
|||
}
|
||||
} finally {
|
||||
currentThread = null
|
||||
endpoint?.getOutputStream()?.close()
|
||||
endpoint?.close()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue