You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
No documentation for proxy.config.http.keepalive_internal_vc #7574
I accidentally ran across this while doing "traffic_ctl config match". There is no documentation. Looking in the code I get the following from HttpTransact.cc in HttpTransact::initialize_state_variables_from_request
// If this is an internal request, never keep alive
if (!s->txn_conf->keep_alive_enabled_in) {
s->client_info.keep_alive = HTTP_NO_KEEPALIVE;
} else if (vc && vc->get_is_internal_request()) {
// Following the trail of JIRAs back from TS-4960, there can be issues with
// EOS event delivery when using keepalive on internal PluginVC session. As
// an interim measure, if proxy.config.http.keepalive_internal_vc is set,
// we will obey the incoming transaction's keepalive request.
s->client_info.keep_alive =
s->http_config_param->keepalive_internal_vc ? incoming_request->keep_alive_get() : HTTP_NO_KEEPALIVE;
} else {
s->client_info.keep_alive = incoming_request->keep_alive_get();
}
We run with this set to 0.
Tracking down "git blame" for the relevant lines. Since this was proposed as an interim solution, perhaps we can remove it?
commit b31ae0bf97ed5e6943a2a1311ea70b67aa7964ef
Author: James Peach <[email protected]>
Date: Wed Oct 12 15:28:27 2016 -0700
TS-4963: Add option to obey keepalive on internal transactions.
Add the proxy.config.http.keepalive_internal_vc configuration option
to obey the keepalive state on internal transactions. This should be
considered an interim measure until the problems around event delivery
on half-closed internal sessions are investigated.
Activity
bryancall commentedon Mar 4, 2021
https://issues.apache.org/jira/browse/TS-4963