Hi
This patch adds the client info ("FSCP" + Version) to the URL when getting
the host list from webcaches, since some webcaches rejected us because they
do not respond to unknown clients.
This has been committed into CVS.
Shervin
Index: Sck.cs
===================================================================
RCS file: /cvsroot/filescope/filescope/Core/Gnutella/Sck.cs,v
retrieving revision 1.2
diff -r1.2 Sck.cs
230c230
< httpRequest =
(HttpWebRequest)WebRequest.Create(address + "?hostfile=1");
---
> httpRequest =
(HttpWebRequest)WebRequest.Create(address + "?hostfile=1&client=FSCP" +
Stats.version.Substring(0, 3));
|