If file smb\SmbTransport.java, change the function doDisconnect to:
Code: Select all
protected void doDisconnect( boolean hard ) throws IOException {
ListIterator iter = sessions.listIterator();
while (iter.hasNext()) {
SmbSession ssn = (SmbSession)iter.next();
ssn.logoff( hard );
}
try { // Ghisler: broken pipe lets this fail!
socket.shutdownOutput();
} catch (Exception e) {
}
out.close();
in.close();
socket.close();
digest = null;
}