bittorrent-relay
Advanced tools
Comparing version 11.0.7 to 11.0.8
{ | ||
"name": "bittorrent-relay", | ||
"description": "Uses the mainline dht to relay requests to other trackers in a swarm", | ||
"version": "11.0.7", | ||
"version": "11.0.8", | ||
"bin": { | ||
@@ -6,0 +6,0 @@ "bittorrent-relay": "./bin/cmd.js" |
@@ -980,6 +980,5 @@ import Debug from 'debug' | ||
if(socket.server){ | ||
socket.send(JSON.stringify({hash: self.hash, key: self.key, address: self.address, web: self.web, host: self.host, port: self.port, domain: self.domain, relay: useRelay, status: self.status, sig: self.sig, action: 'session', reply: true})) | ||
} else { | ||
socket.hash = message.hash | ||
delete message.hash | ||
socket.send(JSON.stringify({hash: self.hash, key: self.key, address: self.address, web: self.web, host: self.host, port: self.port, domain: self.domain, relay: useRelay, status: self.status, sig: self.sig, action: 'session', reply: true})) | ||
} | ||
@@ -986,0 +985,0 @@ const useRelay = message.relay |
102114
2684