Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove query type from SendHandshakeData event matcher #2574

Merged
merged 1 commit into from
Aug 27, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions user_modules/sequences/security.lua
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ local function registerExpectServiceEventFunc(pMobSession)
return data.frameType ~= constants.FRAME_TYPE.CONTROL_FRAME
and data.serviceType == constants.SERVICE_TYPE.CONTROL
and data.sessionId == session.sessionId.get()
and data.rpcType == constants.BINARY_RPC_TYPE.NOTIFICATION
and data.rpcFunctionId == constants.BINARY_RPC_FUNCTION_ID.HANDSHAKE
end
session:ExpectEvent(handshakeEvent, "Handshake internal")
Expand All @@ -115,7 +114,7 @@ local function registerExpectServiceEventFunc(pMobSession)
frameInfo = 0,
serviceType = constants.SERVICE_TYPE.CONTROL,
encryption = false,
rpcType = constants.BINARY_RPC_TYPE.NOTIFICATION,
rpcType = constants.BINARY_RPC_TYPE.RESPONSE,
rpcFunctionId = constants.BINARY_RPC_FUNCTION_ID.HANDSHAKE,
rpcCorrelationId = data.rpcCorrelationId,
binaryData = dataToSend
Expand Down