forked from I2P_Developers/i2p.i2p
* mark the input stream as closed after receiving the packet's data
* properly close the source file in StreamSinkSend * always adjust the rtt on ack, not just for packets with 1 send * handle dup SYN gracefully * revamp the default connection options * logging
This commit is contained in:
@@ -59,7 +59,7 @@ public class StreamSinkSend {
|
||||
_log.error("Peer destination is not valid in " + _peerDestFile, dfe);
|
||||
return;
|
||||
} finally {
|
||||
if (fis == null) try { fis.close(); } catch (IOException ioe) {}
|
||||
if (fis != null) try { fis.close(); } catch (IOException ioe) {}
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user