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

--- Comment #26 from Michael Kaufmann <[email protected]> ---
> How about this version?

Probably does not work too (not tested) because it has the same problem as the
previous patch (see below)


> Otherwise, could you define "does not work with the event MPM"?

The worker MPM calls the hook "pre_read_request" when a request has been
processed, *before* the keep-alive state. The event MPM calls this hook when
the next request has been detected, *after* the keep-alive state.

Example:

Detect incoming data
Process request 1
Finish request 1
--> worker calls the pre_read_request hooks here
... wait for next request (keep-alive state) ...
Detect incoming data
--> event calls the pre_read_request hooks here
Process request 2
Finish request 2

So with the event MPM, the pre_read_request hook cannot be used to set
ccfg->in_keep_alive because it's too late.

May I remind you that I have proposed a working patch? ;-)

-- 
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