* Remove inhSocket stuff at least for now: a) It's untested and liekly dangerous, b) does not work with SSH connections

This commit is contained in:
Bryan Ashby 2015-12-07 21:44:42 -07:00
parent 06974973a3
commit 4458bcfd37
3 changed files with 6 additions and 3 deletions

View file

@ -95,7 +95,7 @@ Door.prototype.run = function() {
args[i] = self.exeInfo.args[i].format({
dropFile : self.exeInfo.dropFile,
node : self.exeInfo.node.toString(),
inhSocket : self.exeInfo.inhSocket.toString(),
//inhSocket : self.exeInfo.inhSocket.toString(),
srvPort : sockServer ? sockServer.address().port.toString() : '-1',
userId : self.client.user.userId.toString(),
});

View file

@ -154,7 +154,8 @@ function DropFile(client, fileType) {
// :TODO: local/serial/telnet need to be configurable -- which also changes socket handle!
return iconv.encode([
'2', // :TODO: This needs to be configurable!
self.client.output._handle.fd.toString(), // :TODO: ALWAYS -1 on Windows!
// :TODO: Completely broken right now -- This need to be configurable & come from temp socket server most likely
'-1', // self.client.output._handle.fd.toString(), // :TODO: ALWAYS -1 on Windows!
'57600',
Config.general.boardName,
self.client.user.userId.toString(),