mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-10 06:34:41 +02:00
* 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:
parent
06974973a3
commit
4458bcfd37
3 changed files with 6 additions and 3 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue