SVN: toys/rsget.pl/RSGet/Curl.pm

sparky sparky at pld-linux.org
Wed May 5 02:21:17 CEST 2010


Author: sparky
Date: Wed May  5 02:21:16 2010
New Revision: 11372

Modified:
   toys/rsget.pl/RSGet/Curl.pm
Log:
- allow "socks" as an alias for "socks5"


Modified: toys/rsget.pl/RSGet/Curl.pm
==============================================================================
--- toys/rsget.pl/RSGet/Curl.pm	(original)
+++ toys/rsget.pl/RSGet/Curl.pm	Wed May  5 02:21:16 2010
@@ -100,6 +100,7 @@
 					socks4 => 4, #CURLPROXY_SOCKS4,
 					socks4a => 6, #CURLPROXY_SOCKS4a,
 					socks5 => 5, #CURLPROXY_SOCKS5,
+					socks => 5, #CURLPROXY_SOCKS5,
 					socks5host => 7, #CURLPROXY_SOCKS5_HOSTNAME,
 				);
 				if ( my $type = $proxytype{ $tn } ) {


More information about the pld-cvs-commit mailing list