mirror of
https://github.com/avwo/whistle.git
synced 2026-10-28 22:59:50 +08:00
feat: add enable://customInspect
This commit is contained in:
+1
-1
@@ -455,7 +455,7 @@ function resolveWebsocket(socket, callback, wss) {
|
||||
util.disableResProps(socket, headers);
|
||||
socket.write(res.getBuffer(headers));
|
||||
reqSocket.reqId = data.id;
|
||||
socket.customInspect = util.getInspectStatus(socket.enable);
|
||||
socket.customInspect = util.getInspectStatus(socket);
|
||||
socketMgr.handleWebsocket(socket, reqSocket);
|
||||
resData.headers = headers;
|
||||
if (res.statusCode != 101) {
|
||||
|
||||
Reference in New Issue
Block a user