Open ghost opened 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.
This is not an issue if DNS results are cached but could become an issue if the host is user-controlled to any extent
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.