You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test_server.c allocate user date in server_accept callback, but free it in conn_close_notify callback, which may cause memory leak if a connection is closed before it get ALPN.
This can be fixed by implementing the server_refuse callback, which is designed to work with server_accept in such scenarios.
Steps To Reproduce
Run it with valgrind in a high loss rate environment.
Relevant log output
No response
The text was updated successfully, but these errors were encountered:
What happened?
test_server.c allocate user date in
server_accept
callback, but free it inconn_close_notify
callback, which may cause memory leak if a connection is closed before it get ALPN.This can be fixed by implementing the
server_refuse
callback, which is designed to work withserver_accept
in such scenarios.Steps To Reproduce
Run it with valgrind in a high loss rate environment.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: