-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Potential memory leak in webrtc packet processing #3223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for reporting this. I'm curious, are you using / are interested in using webrtc-direct in production? |
We do use webrtc-direct in production where we can't use webtransport. What kind of improvements do you mean? |
|
@sukunrt, this is indeed useful! We could then add them to dnsaddr, so certain browsers can connect over WebRTC directly. |
This context wasn't being cancelled on all code paths. In particular, contexts for connections that didn't complete negotiation were not being cancelled. The change arranges for either `udpmux.muxedConnection.Close` or `RemoveConnByUfrag` to call the other. Fixes: #3223
This context wasn't being cancelled on all code paths. In particular, contexts for connections that didn't complete negotiation were not being cancelled. The change arranges for either `udpmux.muxedConnection.Close` or `RemoveConnByUfrag` to call the other. Fixes: #3223
This context wasn't being cancelled on all code paths. In particular, contexts for connections that didn't complete negotiation were not being cancelled. The change arranges for either `udpmux.muxedConnection.Close` or `RemoveConnByUfrag` to call the other. Fixes: #3223
Non-critical but noticeable memory leak interestingly coming from
context.Done
somewhere from webrtc packet processing.Flame graph from yesterday at ~15:00 UTC+1
https://flamegraph.com/share/c80d4436-fa8b-11ef-8d53-2a7e77e4af82
Flame graph from today at ~10:30 UTC+1
https://flamegraph.com/share/df3ef673-fb37-11ef-8d53-2a7e77e4af82
cc @Wondertan
The text was updated successfully, but these errors were encountered: