X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FObject%2FRemote%2FConnection.pm;h=d338a21b6b4bcb8ad9bb4add3782a26a4eec351f;hb=42ee38c487480528ed52daf4ee85880b2d93f9e9;hp=ef44655f113ab624eecbd69c10a48ff52fd8db27;hpb=901159798e5541050b7c3357a7148818610a4019;p=scpubgit%2FObject-Remote.git diff --git a/lib/Object/Remote/Connection.pm b/lib/Object/Remote/Connection.pm index ef44655..d338a21 100644 --- a/lib/Object/Remote/Connection.pm +++ b/lib/Object/Remote/Connection.pm @@ -239,7 +239,7 @@ sub _send { my $fh = $self->send_to_fh; Dlog_trace { "Starting to serialize data in argument to _send for connection $_" } $self->_id; my $serialized = $self->_serialize($to_send)."\n"; - Dlog_debug { my $l = length($serialized); "serialization is completed; sending '$l' characters of serialized data to $_" } $fh; + Dlog_trace { my $l = length($serialized); "serialization is completed; sending '$l' characters of serialized data to $_" } $fh; #TODO this is very risky for deadlocks unless it's set to non-blocking and then with out extra #logic it could easily do short-writes to the remote side my $ret = print $fh $serialized; @@ -252,7 +252,6 @@ sub _send { sub _serialize { my ($self, $data) = @_; local our @New_Ids = (-1); - Dlog_debug { "starting to serialize data for connection $_" } $self->_id; return eval { my $flat = $self->_encode($self->_deobjectify($data)); warn "$$ >>> ${flat}\n" if $DEBUG;