mirror of
https://github.com/avwo/whistle.git
synced 2026-10-29 15:09:28 +08:00
refactor: refine clientIp
This commit is contained in:
@@ -35,6 +35,7 @@ function handleWebsocket(socket, clientIp, callback) {
|
||||
req: reqData,
|
||||
res: resData
|
||||
};
|
||||
socket.clientIp = reqData.ip;
|
||||
|
||||
var proxyUrl = util.rule.getProxy(_rules.rule);
|
||||
var reqSocket, options, pluginHomePage, plugin, pluginRules, matchedUrl, timeout, done;
|
||||
|
||||
Reference in New Issue
Block a user