On Wed, Mar 2, 2016 at 12:59 AM, Yann Ylavic <ylavic....@gmail.com> wrote: > On Fri, Jan 29, 2016 at 4:51 PM, <ic...@apache.org> wrote: >> >> +static void setup_slave_conn(conn_rec *c, void *csd) >> +{ >> + event_conn_state_t *mcs; >> + event_conn_state_t *cs; >> + >> + mcs = ap_get_module_config(c->master->conn_config, &mpm_event_module); >> + >> + cs = apr_pcalloc(c->pool, sizeof(*cs)); >> + cs->c = c; >> + cs->r = NULL; >> + cs->sc = mcs->sc; >> + cs->suspended = 0; >> + cs->p = c->pool; >> + cs->bucket_alloc = c->bucket_alloc; > > Can the slave connection really have the same bucket_alloc as the master? > Can't both be processed (i.e. process_socket) at the same time?
Forget that, I have read it as: cs->bucket_alloc = mcs->bucket_alloc :p