bittorrent-dht
Advanced tools
Comparing version 3.0.4 to 3.0.5
@@ -5,3 +5,3 @@ var get = require('simple-get') | ||
module.exports = thunky(function publicAddress (cb) { | ||
get.concat('https://myexternalip.com/raw', function (err, data, res) { | ||
var req = get.concat('https://myexternalip.com/raw', function (err, data, res) { | ||
if (err) return cb(err) | ||
@@ -13,2 +13,5 @@ if (res.statusCode !== 200) return cb(new Error('got status ' + res.statusCode)) | ||
}) | ||
req.on('socket', function (socket) { | ||
socket.unref() | ||
}) | ||
}) |
{ | ||
"name": "bittorrent-dht", | ||
"description": "Simple, robust, BitTorrent DHT implementation", | ||
"version": "3.0.4", | ||
"version": "3.0.5", | ||
"author": { | ||
@@ -33,3 +33,3 @@ "name": "Feross Aboukhadijeh", | ||
"standard": "^3.3.1", | ||
"tape": "^3.5.0" | ||
"tape": "^4.0.0" | ||
}, | ||
@@ -36,0 +36,0 @@ "homepage": "http://webtorrent.io", |
59942
1591