Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 70c87a9

Browse files
committed
Merge branch 'uh/git-svn-serf-fix'
"git-svn" used with SVN 1.8.0 when talking over https:// connection dumped core due to a bug in the serf library that SVN uses. Work it around on our side, even though the SVN side is being fixed. * uh/git-svn-serf-fix: git-svn: fix termination issues for remote svn connections
2 parents 751e2b3 + 73ffac3 commit 70c87a9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

perl/Git/SVN/Ra.pm

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@ BEGIN {
3232
}
3333
}
3434

35+
# serf has a bug that leads to a coredump upon termination if the
36+
# remote access object is left around (not fixed yet in serf 1.3.1).
37+
# Explicitly free it to work around the issue.
38+
END {
39+
$RA = undef;
40+
$ra_invalid = 1;
41+
}
42+
3543
sub _auth_providers () {
3644
my @rv = (
3745
SVN::Client::get_simple_provider(),

0 commit comments

Comments
 (0)