mirror of
https://github.com/Yonle/bostr.git
synced 2025-06-05 05:09:09 +02:00
fixbug
Signed-off-by: Yonle <yonle@lecturify.net>
This commit is contained in:
parent
ca5f9f7a8e
commit
53cf7a1562
@ -276,7 +276,7 @@ function newConn(addr, id) {
|
||||
relay.on('open', _ => {
|
||||
if (!csess.has(id)) return relay.terminate();
|
||||
socks.add(relay); // Add this socket session to [socks]
|
||||
if (log_about_relays) console.log(process.pid, "---", `[${id}] [${socks.size}/${relays.length*csess.size}] ${relay.url} is connected ${!client ? "(orphan)" : ""}`);
|
||||
if (log_about_relays) console.log(process.pid, "---", `[${id}] [${socks.size}/${relays.length*csess.size}] ${relay.url} is connected ${!relay.client ? "(orphan)" : ""}`);
|
||||
|
||||
if (!relay.client) return; // is orphan, do nothing.
|
||||
for (i of relay.client.my_events) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user