uNetworking / uSockets

Miniscule cross-platform eventing, networking & crypto for async applications
Apache License 2.0
1.26k stars 259 forks source link

Non-blocking DNS #29

Open ghost opened 5 years ago

ghost commented 5 years ago

Connections can block when doing DNS resolution,

With C11 (we already use alignas) threading is standardized and could be used to run blocking DNS lookups.

partyblob commented 3 months ago

This is not an issue if DNS results are cached but could become an issue if the host is user-controlled to any extent