SVN: toys/rsget.pl/Direct/HTTP
sparky
sparky at pld-linux.org
Mon Jul 12 03:13:46 CEST 2010
Author: sparky
Date: Mon Jul 12 03:13:45 2010
New Revision: 11653
Modified:
toys/rsget.pl/Direct/HTTP
Log:
- min size for images decreased to 32KB
Modified: toys/rsget.pl/Direct/HTTP
==============================================================================
--- toys/rsget.pl/Direct/HTTP (original)
+++ toys/rsget.pl/Direct/HTTP Mon Jul 12 03:13:45 2010
@@ -11,7 +11,7 @@
uri: qr{http://.*[^/]}
uri: qr{https://.*[^/]}
slots: max
-status: OK 2010-06-26
+status: OK 2010-07-12
start:
GET( $-{_uri}, headonly => 1 );
@@ -33,7 +33,7 @@
ERROR( "file is text ($type)" );
}
ERROR( "file is a small image ($type, $len)" )
- if $type =~ m#^image/# and $len < 100 * 1024;
+ if $type =~ m#^image/# and $len < 32 * 1024;
my ( $name ) = $-{_referer} =~ m{.*/(.*)$};
if ( /^Content-Disposition:(.+?)\r?$/mi ) {
More information about the pld-cvs-commit
mailing list