Lines Matching defs:worker
138 proxy_worker *forward; /* forward proxy worker */
139 proxy_worker *reverse; /* reverse "module-driven" proxy worker */
241 proxy_worker *worker; /* Connection pool this connection belongs to */
274 /* worker status bits */
286 /* worker status flags */
313 /* default worker retry timeout in seconds */
346 /* Runtime worker status informations. Shared in scoreboard */
354 char uds_path[PROXY_WORKER_MAX_NAME_SIZE]; /* path to worker's unix domain socket if applicable */
356 int retries; /* number of retries on this worker */
364 proxy_hashes hash; /* hash of worker name */
365 unsigned int status; /* worker status bitfield */
382 apr_size_t elected; /* Number of times the worker was elected */
408 proxy_hashes hash; /* hash of worker name */
409 unsigned int local_status; /* status of per-process worker */
458 ap_slotmem_instance_t *wslot; /* worker shm data - runtime */
516 proxy_worker *worker, proxy_server_conf *conf, char *url,
535 * It will return the most suitable worker at the moment
541 APR_DECLARE_EXTERNAL_HOOK(proxy, PROXY, int, pre_request, (proxy_worker **worker,
549 APR_DECLARE_EXTERNAL_HOOK(proxy, PROXY, int, post_request, (proxy_worker *worker,
618 * Return the user-land, UDS aware worker name
619 * @param p memory pool used for displaying worker name
620 * @param worker the worker
625 proxy_worker *worker);
628 * Get the worker from proxy configuration
629 * @param p memory pool used for finding worker
630 * @param balancer the balancer that the worker belongs to
632 * @param url url to find the worker from
640 * Define and Allocate space for the worker to proxy configuration
641 * @param p memory pool to allocate worker from
642 * @param worker the new worker
643 * @param balancer the balancer that the worker belongs to
645 * @param url url containing worker name
647 * @return error message or NULL if successful (*worker is new worker)
650 proxy_worker **worker,
657 * Define and Allocate space for the ap_strcmp_match()able worker to proxy
659 * @param p memory pool to allocate worker from
660 * @param worker the new worker
661 * @param balancer the balancer that the worker belongs to
663 * @param url url containing worker name (produces match pattern)
665 * @return error message or NULL if successful (*worker is new worker)
668 proxy_worker **worker,
675 * Share a defined proxy worker via shm
676 * @param worker worker to be shared
681 PROXY_DECLARE(apr_status_t) ap_proxy_share_worker(proxy_worker *worker,
686 * Initialize the worker by setting up worker connection pool and mutex
687 * @param worker worker to initialize
692 PROXY_DECLARE(apr_status_t) ap_proxy_initialize_worker(proxy_worker *worker,
709 * @param url url to find the worker from; must have balancer:// prefix
769 * Find the shm of the worker as needed
772 * @param worker worker to find
773 * @param index pointer to index within slotmem of worker
774 * @return pointer to shm of worker, or NULL
778 proxy_worker *worker,
795 * Get the most suitable worker and/or balancer for the request
796 * @param worker worker used for processing request
803 * The balancer then rewrites the url to particular worker, like http://host:port
805 PROXY_DECLARE(int) ap_proxy_pre_request(proxy_worker **worker,
811 * Post request worker and balancer cleanup
812 * @param worker worker used for processing request
820 PROXY_DECLARE(int) ap_proxy_post_request(proxy_worker *worker,
830 * @param worker worker used for processing request
843 proxy_worker *worker,
853 * Mark a worker for retry
855 * @param worker worker used for retrying
858 * @note The error status of the worker will cleared if the retry interval has
862 (const char *proxy_function, proxy_worker *worker, server_rec *s));
865 * Acquire a connection from worker connection pool
868 * @param worker worker used for obtaining connection
877 proxy_worker *worker,
880 * Release a connection back to worker connection pool
894 * @param worker connection worker
902 proxy_worker *worker,
963 * Set/unset the worker status bitfield depending on flag
966 * @param w worker to use
973 * Create readable representation of worker status bitfield
975 * @param w worker to use
1010 * @param worker selected worker
1023 proxy_worker *worker,