mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-01-26 00:59:19 +01:00
fix(tracker): fixed debug info
This commit is contained in:
@@ -950,7 +950,9 @@ exports.announce = function (req, res) {
|
||||
});
|
||||
|
||||
mtDebug.debugGreen('---------------SEND RESPONSE TO USER----------------', 'ANNOUNCE', true, req.passkeyuser);
|
||||
mtDebug.debug('ip mode: ' + (v6ip ? 'IPv6' : 'IPv4'), 'ANNOUNCE', true, req.passkeyuser);
|
||||
if (peers.length > 0) {
|
||||
mtDebug.debug('ip mode: ' + (v6ip ? 'IPv6' : 'IPv4'), 'ANNOUNCE', true, req.passkeyuser);
|
||||
}
|
||||
mtDebug.debug(benc.decode(resp, 'ascii'), 'ANNOUNCE', true, req.passkeyuser);
|
||||
|
||||
res.writeHead(200, {'Content-Type': 'text/plain'});
|
||||
|
||||
Reference in New Issue
Block a user