Removed the ambiguous session_get0_current_payload() API. It is unclear whether the original packet payload or TCP reassembled payload is obtained.

It is recommended to:
* Use packet_get_payload() to obtain the original packet payload
* Use tcp_segment_get_data() to obtain the reassembled data
This commit is contained in:
luwenpeng
2024-08-01 15:14:47 +08:00
parent 776090331e
commit 12975e2da7
9 changed files with 40 additions and 21 deletions

View File

@@ -205,7 +205,7 @@ static void *dumpfile_thread(void *arg)
ATOMIC_SET(&handle->io_thread_wait_exit, 1);
}
PACKET_IO_LOG_STATE("dumpfile io thread waiting");
PACKET_IO_LOG_STATE("dumpfile io thread waiting exit");
sleep(1);
}