https://bz.apache.org/bugzilla/show_bug.cgi?id=60071

--- Comment #12 from Yann Ylavic <[email protected]> ---
(In reply to Jim Jagielski from comment #8)
> Also, from what I can see, the common logic path and usage for
> hc_determine_connection() simply checks that worker->cp->addr isn't null and
> then assigns worker->cp->addr to worker->cp->addr... This seems wasteful and
> inefficient as well.

This is the same here AFAICT, hc_init_worker() calls hc_determine_connection()
exactly once, otherwise it's called from hc_get_backend() which should either
find an existing/valid worker->cp->addr, or NULL (in which case it must create
a new (backend->)addr for each connection and be thread-safe too.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to