bagder: curl-www/dl remcheck.pl,1.25,1.26

[email protected] Tue, 10 Aug 2010 18:42:36 +0000
Newsgroups gmane.comp.web.curl.www.cvs
Message-ID <[email protected]>
Update of /cvsroot/curl/curl-www/dl
In directory giant.haxx.se:/var/tmp/cvs-serv6043

Modified Files:
	remcheck.pl 
Log Message:
provide a unique user agent string that is prefixed Mozilla in an attempt
to avoid the plain blocks of 'curl'


Index: remcheck.pl
===================================================================
RCS file: /cvsroot/curl/curl-www/dl/remcheck.pl,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- remcheck.pl	10 Feb 2010 19:47:19 -0000	1.25
+++ remcheck.pl	10 Aug 2010 18:42:34 -0000	1.26
@@ -127,7 +127,7 @@
 my %urlhash;
 sub geturl {
     my ($url, $head) = @_;
-    my $curlcmd="curl -Lfsm120 --ftp-method singlecwd";
+    my $curlcmd="curl -Lfsm120 -A \"Mozilla/curl.haxx.se dl-package-check-probe\" --ftp-method singlecwd";
 
     if(!$head) {
         my $t = time();