[Pkg-owncloud-commits] [owncloud-client] 33/175: tx.pl: Use HTTP Keep-Alive

Sandro Knauß hefee-guest at moszumanska.debian.org
Sat Aug 8 10:36:24 UTC 2015


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 6b16e18eb864f0d4b1bdc78546ad642b33dd4d61
Author: Markus Goetz <markus at woboq.com>
Date:   Tue May 12 16:26:04 2015 +0200

    tx.pl: Use HTTP Keep-Alive
---
 csync/tests/ownCloud/ownCloud/Test.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/csync/tests/ownCloud/ownCloud/Test.pm b/csync/tests/ownCloud/ownCloud/Test.pm
index a4fb6bd..6e755b0 100644
--- a/csync/tests/ownCloud/ownCloud/Test.pm
+++ b/csync/tests/ownCloud/ownCloud/Test.pm
@@ -124,7 +124,8 @@ sub initTesting(;$)
     $ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0
   }
 
-  $d = HTTP::DAV->new();
+  my $ua = HTTP::DAV::UserAgent->new(keep_alive => 1 );
+  $d = HTTP::DAV->new(-useragent => $ua);
 
   $d->credentials( -url=> $owncloud, -realm=>"ownCloud",
 		  -user=> $user,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list