ngx_dynamic_upstream
ngx_dynamic_upstream copied to clipboard
Add appropriate locks to avoid race conditions.
trafficstars
Since both the linked list that holds the peers and each element of it are supposed to be guarded by the locking functions, lack of invocations of such functions may lead to race conditions.