Skip to content

Commit a4605bd

Browse files
committed
Merge pull request webtorrent#56 from maxogden/patch-1
add debug statement for udp response
2 parents 1e9195f + 9e691af commit a4605bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

client.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ Tracker.prototype._requestUdp = function (requestUrl, opts) {
311311
}
312312

313313
var action = msg.readUInt32BE(0)
314+
debug(requestUrl, 'UDP response, action', action)
314315
switch (action) {
315316
case 0: // handshake
316317
if (msg.length < 16) {

0 commit comments

Comments
 (0)