Merge pull request #56 from maxogden/patch-1

add debug statement for udp response
This commit is contained in:
Mathias Buus 2015-01-23 22:34:26 -08:00
commit a4605bd67c

View File

@ -311,6 +311,7 @@ Tracker.prototype._requestUdp = function (requestUrl, opts) {
}
var action = msg.readUInt32BE(0)
debug(requestUrl, 'UDP response, action', action)
switch (action) {
case 0: // handshake
if (msg.length < 16) {