forked from I2P_Developers/i2p.i2p
2007-06-27 jrandom
* fix for a streaming lib bug that could leave a thread waiting indefinitely (thanks Complication!)
This commit is contained in:
@@ -29,9 +29,15 @@ public class I2PSocketFull implements I2PSocket {
|
|||||||
if (c == null) return;
|
if (c == null) return;
|
||||||
if (c.getIsConnected()) {
|
if (c.getIsConnected()) {
|
||||||
OutputStream out = c.getOutputStream();
|
OutputStream out = c.getOutputStream();
|
||||||
if (out != null)
|
if (out != null) {
|
||||||
out.close();
|
try {
|
||||||
c.disconnect(true);
|
out.close();
|
||||||
|
} catch (IOException ioe) {
|
||||||
|
// ignore any write error, as we want to keep on and kill the
|
||||||
|
// con (thanks Complication!)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
c.disconnect(true);
|
||||||
} else {
|
} else {
|
||||||
//throw new IOException("Not connected");
|
//throw new IOException("Not connected");
|
||||||
}
|
}
|
||||||
|
@@ -1,4 +1,8 @@
|
|||||||
$Id: history.txt,v 1.568 2007-05-06 15:02:04 complication Exp $
|
$Id: history.txt,v 1.569 2007-06-16 18:15:49 complication Exp $
|
||||||
|
|
||||||
|
2007-06-27 jrandom
|
||||||
|
* fix for a streaming lib bug that could leave a thread waiting
|
||||||
|
indefinitely (thanks Complication!)
|
||||||
|
|
||||||
2007-06-16 Complication
|
2007-06-16 Complication
|
||||||
* First pass on EepGet and ReseedHandler improvements,
|
* First pass on EepGet and ReseedHandler improvements,
|
||||||
|
@@ -15,9 +15,9 @@ import net.i2p.CoreVersion;
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class RouterVersion {
|
public class RouterVersion {
|
||||||
public final static String ID = "$Revision: 1.503 $ $Date: 2007-05-06 14:52:43 $";
|
public final static String ID = "$Revision: 1.504 $ $Date: 2007-06-16 18:15:51 $";
|
||||||
public final static String VERSION = "0.6.1.28";
|
public final static String VERSION = "0.6.1.28";
|
||||||
public final static long BUILD = 6;
|
public final static long BUILD = 7;
|
||||||
public static void main(String args[]) {
|
public static void main(String args[]) {
|
||||||
System.out.println("I2P Router version: " + VERSION + "-" + BUILD);
|
System.out.println("I2P Router version: " + VERSION + "-" + BUILD);
|
||||||
System.out.println("Router ID: " + RouterVersion.ID);
|
System.out.println("Router ID: " + RouterVersion.ID);
|
||||||
|
Reference in New Issue
Block a user