|
|
@ -2446,9 +2446,11 @@ static void delete_proxy(ckpool_t *ckp, gdata_t *gdata, proxy_instance_t *proxy) |
|
|
|
HASH_DELETE(sh, proxy->subproxies, subproxy); |
|
|
|
HASH_DELETE(sh, proxy->subproxies, subproxy); |
|
|
|
mutex_unlock(&proxy->proxy_lock); |
|
|
|
mutex_unlock(&proxy->proxy_lock); |
|
|
|
|
|
|
|
|
|
|
|
send_stratifier_deadproxy(ckp, subproxy->id, subproxy->subid); |
|
|
|
if (subproxy) { |
|
|
|
if (subproxy && proxy != subproxy) |
|
|
|
send_stratifier_deadproxy(ckp, subproxy->id, subproxy->subid); |
|
|
|
store_proxy(gdata, subproxy); |
|
|
|
if (proxy != subproxy) |
|
|
|
|
|
|
|
store_proxy(gdata, subproxy); |
|
|
|
|
|
|
|
} |
|
|
|
} while (subproxy); |
|
|
|
} while (subproxy); |
|
|
|
|
|
|
|
|
|
|
|
/* Recycle the proxy itself */ |
|
|
|
/* Recycle the proxy itself */ |
|
|
|