Hi Mladen,

any thoughts, how we could make configuring connection_keepalive better?

We implicitely use prepost_timeout, so there's no way to use the
occasional keepalive CPING probing without adding CPINGs to any request.

I think in most cases, the actual timeout used for the CPONG response in
the three cases connection check, pre request check and keepalive check
do not matter that much, they usually can be set to the same value.

So we could introduce a more general probe_timeout and a flag use_probes
indicating, which types of probes are wanted (connect, request, idle).

The probe_timeout will be copied to prepost_timeout resp.
connect_timeout depending on the flag value and prepost_timeout and
connect_timeout will get deprecated (but still used if not overwritten
by the new directives).

The flag could be a bitmap, but I would prefer we make it a list
attribute with string arguments ("connect", "request", "idle").

By this we would offer the alternative

   probe_timeout, use_probes, connection_keepalive

to

   prepost_timeout, connect_timeout, connection_keepalive

We would loose the ability to set the CPONG timeouts individually, but
we gain the ability to use keepalive CPINGs without prepost CPINGs.

Of course by introducing even more attributes we can keep the individual
CPING timeouts, but I don't really see a reason. I want to get the
attributes right, before we release this nice feature.

Comments?

Regards,

Rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to