summaryrefslogtreecommitdiff
path: root/common/src/tfe_packet_io.cpp
diff options
context:
space:
mode:
authorwangmenglan <[email protected]>2024-11-28 15:18:30 +0800
committerwangmenglan <[email protected]>2024-11-28 15:22:23 +0800
commit59e7f7a6a30383f75c0bf9ac5487a00dec2133b3 (patch)
tree6f5e3cf1978102d7dcb3462cf3e2d0c6438578e3 /common/src/tfe_packet_io.cpp
parentdd4e2e6d66fcd20b29e6733ef2f10d7c1dfad942 (diff)
TSG-23932: Support parsing session_uuid field
Diffstat (limited to 'common/src/tfe_packet_io.cpp')
-rw-r--r--common/src/tfe_packet_io.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/common/src/tfe_packet_io.cpp b/common/src/tfe_packet_io.cpp
index 0d69082..045406e 100644
--- a/common/src/tfe_packet_io.cpp
+++ b/common/src/tfe_packet_io.cpp
@@ -1255,8 +1255,6 @@ static int handle_session_opening(struct metadata *meta, marsio_buff_t *rx_buff,
stream_common_direction = meta->is_e2i_dir ? 'I' : 'E';
tfe_cmsg_set(parser->cmsg, TFE_CMSG_COMMON_DIRECTION, (const uint8_t *)&stream_common_direction, sizeof(stream_common_direction));
- snprintf(stream_traceid, 24, "%" PRIu64, meta->session_id);
- tfe_cmsg_set(parser->cmsg, TFE_CMSG_STREAM_TRACE_ID, (const uint8_t *)stream_traceid, strlen(stream_traceid));
tfe_cmsg_dup(parser->cmsg);
// 为避免 packet IO thread 与 worker 访问 cmsg 时出现竞争,packet IO thread 必须在调用 tfe_proxy_fds_accept 之前 set cmsg