Commit 187a7e4b authored by Chunchi Che's avatar Chunchi Che

update small

parent 725e9344
Pipeline #18615 failed with stages
in 5 minutes and 7 seconds
......@@ -2541,7 +2541,7 @@
// 客户端到服务端(ctos)协议分析
client.pre_establish_buffers = new Array();
dataHandler = async function(ctos_buffer) {
log.info(logPrefix, `client_name=${client.name}`, "ctos_buffer:", ctos_buffer);
log.info(logPrefix, `client_name=${client.name}`, `stoc_proto=${ctos_buffer[2]}`, "ctos data:", ctos_buffer);
var bad_ip_count, buffer, ctos_filter, handle_data, j, l, len, len1, preconnect, ref, ref1, room;
if (client.is_post_watcher) {
room = ROOM_all[client.rid];
......@@ -2617,7 +2617,7 @@
}
// 服务端到客户端(stoc)
server.on('data', async function(stoc_buffer) {
log.info(logPrefix, `client_name=${server.client.name}`, "stoc buffer:", stoc_buffer);
log.info(logPrefix, `client_name=${server.client.name}`, `stoc_proto=${stoc_buffer[2]}`, "stoc data:", stoc_buffer);
var buffer, handle_data, j, len, ref;
handle_data = (await ygopro.helper.handleBuffer(stoc_buffer, "STOC", null, {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment