* 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:
@@ -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(),
|
||||
});
|
||||
|
||||
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user