forked from I2P_Developers/i2p.i2p
2005-10-12 jrandom
* Choke SSU retransmissions to a peer while there is already a retransmission in flight to them. This currently lets other initial transmissions through, since packet loss is often sporadic, but maybe this should block initial transmissions as well? * Display the retransmission bytes stat on peers.jsp (thanks bar!) * Filter QUIT messages in the I2PTunnelIRCClient proxy
This commit is contained in:
@@ -330,7 +330,7 @@ public class I2PTunnelIRCClient extends I2PTunnelClientBase implements Runnable
|
||||
"LIST",
|
||||
"NAMES",
|
||||
"NICK",
|
||||
"QUIT",
|
||||
// "QUIT", // replace with a filtered QUIT to hide client quit messages
|
||||
"SILENCE",
|
||||
"PART",
|
||||
"OPER",
|
||||
@@ -379,6 +379,8 @@ public class I2PTunnelIRCClient extends I2PTunnelClientBase implements Runnable
|
||||
String realname = field[2].substring(idx+1);
|
||||
String ret = "USER "+field[1]+" hostname localhost :"+realname;
|
||||
return ret;
|
||||
} else if ("QUIT".equals(command)) {
|
||||
return "QUIT :leaving";
|
||||
}
|
||||
|
||||
// Block the rest
|
||||
|
Reference in New Issue
Block a user