Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(balancer) delay initialization of balancer objects
When upstreams include targets using hostnames instead of IPs, the initialization of balancer objects needs to perform DNS resolution, which involves opening a socket, which is not available in the init_worker phase. This patch delays balancer initialization to the access phase.
- Loading branch information