From: pdbogen Date: Tue, 28 Oct 2008 16:00:40 +0000 (+0000) Subject: Don't fetch more than 10K to find the title. If it's not there by then, oh well. X-Git-Url: http://git.mmlx.us/?a=commitdiff_plain;h=1c556308e7897ca402d5c3206106b19baf6034be;p=destult.git Don't fetch more than 10K to find the title. If it's not there by then, oh well. git-svn-id: https://www.cernu.us/~pdbogen/svn/destult2@74 088b83a4-0077-4247-935c-42ec02c2848b --- diff --git a/commands.yaml b/commands.yaml index fbd1b0e..464c4e3 100644 --- a/commands.yaml +++ b/commands.yaml @@ -1727,6 +1727,7 @@ TITLE: |- use LWP::UserAgent; my $ua = LWP::UserAgent->new; $ua->timeout(5); + $ua->max_size( 10240 ); my $req = HTTP::Request->new( GET => $what ); my $res = $ua->request( $req ); if( $res->is_success ) {