Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove the address_configured flag on tcp::resolver::query (#1145)
The default behavior for tcp::resolver::query uses the address_configured flag, which only returns addresses if a non-loopback address is available on the system. If this is called before a real network interface is brought up, then resolution will fail and the server won't be functional, even for requests on the loopback interface. Explicitly set the flags to default so that the address_configured flag is not specified. This allows the server to start up normally even when the system has no active network interfaces.
- Loading branch information