This really confuses me. in function ngx_event_connect_peer(ngx_event_connect.c), it has this line(rc = pc->get(pc, pc->data);) the default get method is round_robin. it use function ngx_http_upstream_get_round_robin_peer(ngx_peer_connection_t *pc, void *data). when I print the value of data in above function, it is different from pc->data, I wonders why this happens? For i want to gby sixsixsix - Other discussion