projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix unset/startup cmd
[spider.git]
/
perl
/
Msg.pm
diff --git
a/perl/Msg.pm
b/perl/Msg.pm
index 4400fe8d76482050f5d8974b599a6fcdeed55559..3c4b51f3d0d2504adff8ccaf7bd61781bf6163f9 100644
(file)
--- a/
perl/Msg.pm
+++ b/
perl/Msg.pm
@@
-279,7
+279,7
@@
sub disconnect
if ($sock->{buffer}) {
my $lth = length $sock->{buffer};
Mojo::IOLoop->timer($disc_waittime, sub {
if ($sock->{buffer}) {
my $lth = length $sock->{buffer};
Mojo::IOLoop->timer($disc_waittime, sub {
- dbg("Buffer contained $lth
data
, coordinated for $disc_waittime secs, now disconnecting $call") if $dbg;
+ dbg("Buffer contained $lth
characters
, coordinated for $disc_waittime secs, now disconnecting $call") if $dbg;
_close_it($conn);
});
} else {
_close_it($conn);
});
} else {