httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yann Ylavic <ylavic....@gmail.com>
Subject Re: svn commit: r1727603 - in /httpd/httpd/trunk: CHANGES server/mpm/event/event.c
Date Wed, 02 Mar 2016 00:03:33 GMT
On Wed, Mar 2, 2016 at 12:59 AM, Yann Ylavic <ylavic.dev@gmail.com> wrote:
> On Fri, Jan 29, 2016 at 4:51 PM,  <icing@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

Mime
View raw message