Permalink
Browse files

keepalive is needed for ntlm auth

  • Loading branch information...
1 parent ea89818 commit 35b0619482f8009ca5dd9cf9b31808f49c49a051 @sni committed Aug 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Webinject/lib/Webinject.pm
@@ -561,7 +561,7 @@ sub _get_useragent {
my $self = shift;
# construct LWP object
- my $useragent = LWP::UserAgent->new;
+ my $useragent = LWP::UserAgent->new(keep_alive=>1);
# store cookies in our LWP object
my($fh, $cookietempfilename) = tempfile(undef, UNLINK => 1);

0 comments on commit 35b0619

Please sign in to comment.