Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

WebRTC ICE keeps an idle thread per STUN/TURN hostname lookup

Open
#439 0 comments 0 reactions 0 assignees View on GitHub

@tintinhamans is already working on this.

Since Sep 25, 2026.

  • #442 by @tintinhamans — open

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
cpp
Domain
networking

Research direction

Start in ice_session.cpp and compare the pinned WebRTC AsyncResolver behavior with upstream fix 1366b0f841 (webrtc:12659). Verify how each STUN/TURN hostname lookup creates and destroys its resolver thread, including destruction during an active lookup. Done means ICE sessions no longer retain an idle thread per hostname and interface, without requiring a submodule update.

Written by the indexing model from the issue text.

Description

With the WebRTC backend in 1.6.0, the pinned WebRTC's rtc::AsyncResolver starts an rtc::Thread per lookup that idles until its port is destroyed. Every ICE session keeps one per hostname per network interface.

Destroying a resolver mid-lookup also joins its thread, stalling the global lock until getaddrinfo returns.

Upstream WebRTC fixed this in 1366b0f841 (webrtc:12659). We can fix it in ice_session.cpp without a submodule update, unless you'd prefer the update.

Dominant language
C++
Stars
10k
Forks
747
Avg merge
5d 19h
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ValveSoftware/GameNetworkingSockets

All issues in ValveSoftware/GameNetworkingSockets

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.