Permalink
Browse files

Hide debugging junk until I actually need it

  • Loading branch information...
1 parent 407b331 commit 7073c711ff3e52b6eaa4b124e07ed1f11dbaedd6 @sanko committed Dec 28, 2011
Showing with 3 additions and 2 deletions.
  1. +3 −2 lib/AnyEvent/BitTorrent.pm
@@ -928,8 +928,9 @@ sub _on_read {
push @{$s->peers->{$h}{local_allowed}}, $packet->{payload};
}
else {
- use Data::Dump qw[pp];
- die 'Unhandled packet: ' . pp $packet;
+
+ # use Data::Dump qw[pp];
+ # die 'Unhandled packet: ' . pp $packet;
}
last
if 5 > length($h->rbuf // ''); # Min size for protocol

0 comments on commit 7073c71

Please sign in to comment.