Permalink
Browse files

added max redirect check

  • Loading branch information...
1 parent 5278326 commit 3514ca1929a7b01f687e101d20274a051759c7b7 @liseen committed Jan 11, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/QAT/Util.pm
View
@@ -111,6 +111,7 @@ sub do_http_request {
my $ua = LWP::UserAgent->new();
$ua->timeout($args->{timeout} || 10);
+ $ua->max_redirect($args->{max_redirect} || 0);
my $req = make_http_request($args);

0 comments on commit 3514ca1

Please sign in to comment.