Skip to content

Native ICE resolves STUN/TURN hostnames under the global lock #440

Description

@tintinhamans

CConnectionTransportP2PICE_Valve::Init holds the global lock while constructing CSteamNetworkingICESession, whose constructor calls a blocking getaddrinfo for each STUN/TURN hostname.

With slow or unreachable DNS, every new P2P connection stalls the whole library, including existing connections.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions