mirror of
https://github.com/nginx/nginx.git
synced 2025-06-11 04:12:40 +08:00
avoid endless loop
This commit is contained in:
parent
b32d04f07c
commit
bd99c49794
@ -179,11 +179,10 @@ ngx_http_upstream_get_ip_hash_peer(ngx_peer_connection_t *pc, void *data)
|
||||
peer->fails = 0;
|
||||
break;
|
||||
}
|
||||
|
||||
} else {
|
||||
iphp->rrp.tried[n] |= m;
|
||||
}
|
||||
|
||||
iphp->rrp.tried[n] |= m;
|
||||
|
||||
/* ngx_unlock_mutex(iphp->rrp.peers->mutex); */
|
||||
|
||||
pc->tries--;
|
||||
|
Loading…
Reference in New Issue
Block a user