projects
/
scpubgit/Object-Remote.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
fix futures that need to be failed not being failed when a connection is closed
[scpubgit/Object-Remote.git]
/
lib
/
Object
/
Remote
/
Connection.pm
diff --git
a/lib/Object/Remote/Connection.pm
b/lib/Object/Remote/Connection.pm
index
4120395
..
66d4c2e
100644
(file)
--- a/
lib/Object/Remote/Connection.pm
+++ b/
lib/Object/Remote/Connection.pm
@@
-121,6
+121,7
@@
sub _fail_outstanding {
foreach(keys(%$outstanding)) {
log_trace { "Failing future for $_" };
my $future = $outstanding->{$_};
+ $future->fail("$error\n");
}
%$outstanding = ();