mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-21 13:34:56 -04:00
happy-eyeballs: Move happy_eyeballs_destroy to a thread
On Windows, shutdown() will not interrupt a blocking connect() call, so happy_eyeballs_destroy could block until the remaining candidates timed out. As happy_eyeballs_destroy is called in the RTMP connect path, this would stall the RTMP connection and cause the winning candidate's socket to be disconnected due to a timeout.
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f