Lines Matching defs:wshared
1661 proxy_worker_shared *wshared;
1731 wshared = ap_malloc(sizeof(proxy_worker_shared)); /* will be freed ap_proxy_share_worker */
1733 wshared = apr_palloc(p, sizeof(proxy_worker_shared));
1735 memset(wshared, 0, sizeof(proxy_worker_shared));
1741 if (PROXY_STRNCPY(wshared->name, ptr) != APR_SUCCESS) {
1743 "Alert! worker name (%s) too long; truncated to: %s", ptr, wshared->name);
1745 if (PROXY_STRNCPY(wshared->scheme, uri.scheme) != APR_SUCCESS) {
1748 if (PROXY_STRNCPY(wshared->hostname, uri.hostname) != APR_SUCCESS) {
1751 wshared->port = uri.port;
1752 wshared->flush_packets = flush_off;
1753 wshared->flush_wait = PROXY_FLUSH_WAIT;
1754 wshared->is_address_reusable = 1;
1755 wshared->lbfactor = 1;
1756 wshared->smax = -1;
1757 wshared->hash.def = ap_proxy_hashfunc(wshared->name, PROXY_HASHFUNC_DEFAULT);
1758 wshared->hash.fnv = ap_proxy_hashfunc(wshared->name, PROXY_HASHFUNC_FNV);
1759 wshared->was_malloced = (do_malloc != 0);
1760 wshared->is_name_matchable = 0;
1762 if (PROXY_STRNCPY(wshared->uds_path, sockpath) != APR_SUCCESS) {
1768 *wshared->uds_path = '\0';
1771 wshared->status |= PROXY_WORKER_IGNORE_ERRORS;
1774 (*worker)->hash = wshared->hash;
1778 (*worker)->s = wshared;