[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Perl interface leaks connections: ???

From: Matthias Urlichs <smurf_at_smurf.noris.de>
Date: 2005-08-19 11:22:08 CEST

Hi,

this (admittedly very simple) script:

#!/usr/bin/perl

use SVN::Client;
my $ctx = new SVN::Client;

sub log_receiver(@) { }

foreach my $n(1..100) {
        $ctx->log("svn://cvs.gnupg.org/gnupg", $n,$n, 1,1, \&log_receiver);
}
__END__

... leaks connections: it opens a new one for every request, without
closing the old one. IMHO that's a bug, not to mention that I get
blocked by the server (understandably).

How do I use one persistent connection instead?
Does anybody have a workaround?

-- 
Matthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |  smurf@smurf.noris.de
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
 - -
GLITCH [from the Yiddish "glitshen", to slide] 1. n. A sudden
   interruption in electric service, sanity, or program function.
   Sometimes recoverable.  2. v. To commit a glitch.  See GRITCH.
   3. v. (Stanford) To scroll a display screen.
				-- From the AI Hackers' Dictionary
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 19 13:22:23 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.