Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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. (cherry picked from commit 78ffd99)
- Loading branch information