move PIPE signal handler to miniloop and update timeout param in t/timeout.t to match...
[scpubgit/Object-Remote.git] / lib / Object / Remote / Connection.pm
index 66d4c2e..7d64071 100644 (file)
@@ -18,10 +18,7 @@ use JSON::PP qw(encode_json);
 use Moo;
 use Carp qw(croak);
 
-BEGIN { 
-  router()->exclude_forwarding;
-  $SIG{PIPE} = sub { log_debug { "Got a PIPE signal" } };
-}
+BEGIN { router()->exclude_forwarding }
 
 END {
   log_debug { "Killing all child processes in the process group" };