A suspected memory leak occurred when the connection was timeout disconnected #4362
Unanswered
noah-hwang
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I believe everything should be cleaned up when the socket context and parent socket are cleaned up. Do you have data to show this isn't the case? We run many of our tests with ASAN, and they inform us when we have a leak, and I've never seen one here. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The following code appears to have a memory leak.
The scene is as follows:
1.The client initiates a connection and the connection times out,QUIC_CONNECTION_EVENT_SHUTDOWN_COMPLETE event callback.
2.Then actively call ConnectionClose, and DATAPATH_IO_RECV IoType callback, IoResult is EORROR_OPERATION_ABORTED.
3.Final entry CxPlatDataPathSocketProcessReceive, the RecvContext is not release while SocketContext release.
Whether memory leaks are caused by each timeout disconnection.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions