mirror of
https://github.com/nginx/nginx.git
synced 2026-06-26 20:01:45 +00:00
avoid endless loop
This commit is contained in:
parent
b32d04f07c
commit
bd99c49794
1 changed files with 2 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue