mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-17 23:33:12 +09:00
Add address host connected from to the host info
Provide an easy way to see where a host is connecting from in the web UI and clusterioctl list.
This commit is contained in:
1 parent
de47989527
commit
b5ed0800cf
5 files changed
+16
-4
No files matched your search
@@ -284,7 +284,7 @@ ${err.stack}`
|
||||
);
|
||||
}
|
||||
|
||||
connection = new HostConnection(data, connector, this.controller);
|
||||
connection = new HostConnection(data, connector, this.controller, this.remoteAddr(req));
|
||||
connector.on("close", () => {
|
||||
if (this.hostConnections.get(data.id) === connection) {
|
||||
this.hostConnections.delete(data.id);
|
||||
|
||||
Reference in new issue
Block a user