bittorrent-relay
Advanced tools
Comparing version 14.0.4 to 14.0.5
{ | ||
"name": "bittorrent-relay", | ||
"description": "Uses the mainline dht to relay requests to other trackers in a swarm", | ||
"version": "14.0.4", | ||
"version": "14.0.5", | ||
"bin": { | ||
@@ -6,0 +6,0 @@ "bittorrent-relay": "./bin/cmd.js" |
@@ -642,3 +642,3 @@ import Debug from 'debug' | ||
const params = new URLSearchParams(req.url.slice(req.url.indexOf('?'))) | ||
if(!this.hashes.has(params.info_hash)){ | ||
if(!params.has('info_hash') || !this.hashes.has(params.get('info_hash'))){ | ||
socket.send(JSON.stringify({action: 'failure reason', error: 'there was a error, info hash not supported'})) | ||
@@ -645,0 +645,0 @@ socket.close() |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
104344