View Single Post
  #3 (permalink)  
Old January 13th, 2002
Unregistered
Guest
 
Posts: n/a
Default Ok, here are some hints.

cvs diff -w -i ConnectionManager.java (in directory E:\coding\lime2\limewire\core\com\limegroup\gnutel la\)
Index: ConnectionManager.java
================================================== =================
RCS file: /usr/local/tigris/data/helm/cvs/repository/core/com/limegroup/gnutella/ConnectionManager.java,v
retrieving revision 1.128
diff -w -i -r1.128 ConnectionManager.java
359c359
< if ((newKeep > 1) && hasClientSupernodeConnection())
---
> if ((newKeep > 5) && hasClientSupernodeConnection())
398c398
< if (connections.size()!=1)
---
> if (connections.size()!=1) {
400c400,402
< else {
---
> } else if(connections.size() < _keepAlive) {
> return false;
> } else {
531,532c533,534
< else if (hasClientSupernodeConnection())
< return false;
---
> // else if (hasClientSupernodeConnection())
> // return false;
1111c1113,1115
< setKeepAlive(Math.min(1, _keepAlive));
---
>
> //
> //setKeepAlive(Math.min(1, _keepAlive));
1118c1122,1123
< if(!connection.equals(supernodeConnection))
---
> //if(!connection.equals(supernodeConnection))
> if(!connection.isSupernodeClientConnection())

*****CVS exited normally with code 1*****

cvs diff -w -i RouterService.java (in directory E:\coding\lime2\limewire\core\com\limegroup\gnutel la\)
Index: RouterService.java
================================================== =================
RCS file: /usr/local/tigris/data/helm/cvs/repository/core/com/limegroup/gnutella/RouterService.java,v
retrieving revision 1.116
diff -w -i -r1.116 RouterService.java
444c444
< if ((newKeep > 1) && hasClientSupernodeConnection())
---
> if ((newKeep > 5) && hasClientSupernodeConnection())

*****CVS exited normally with code 1*****

cvs diff -w -i GUIMediator.java (in directory E:\coding\lime2\limewire\gui\com\limegroup\gnutell a\gui)
Index: GUIMediator.java
================================================== =================
RCS file: /usr/local/tigris/data/helm/cvs/repository/gui/com/limegroup/gnutella/gui/GUIMediator.java,v
retrieving revision 1.40
diff -w -i -r1.40 GUIMediator.java
1078c1078
< return(SHOW_ADS);
---
> return(false);

*****CVS exited normally with code 1*****

Now I am connected to multiple ultrapeers.
Reply With Quote