This is an automated email from the ASF dual-hosted git repository. zwoop pushed a commit to branch 8.1.x in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/8.1.x by this push: new f45b1bf YTSATS-2300: Reset the inactivity timeout to the transaction timeout when reusing connections. f45b1bf is described below commit f45b1bf28f59062e90dfaaba87c7ba019f51adb9 Author: Susan Hinrichs <shinr...@oath.com> AuthorDate: Fri Aug 24 15:24:18 2018 +0000 YTSATS-2300: Reset the inactivity timeout to the transaction timeout when reusing connections. (cherry picked from commit 483b1b328de55f9f5fc403bd7814c3a298857923) --- proxy/http/HttpSM.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/proxy/http/HttpSM.cc b/proxy/http/HttpSM.cc index 5db35d8..da9f9c2 100644 --- a/proxy/http/HttpSM.cc +++ b/proxy/http/HttpSM.cc @@ -5963,6 +5963,8 @@ HttpSM::attach_server_session(HttpServerSession *s) void HttpSM::setup_server_send_request_api() { + // Make sure the VC is on the correct timeout + server_session->get_netvc()->set_inactivity_timeout(HRTIME_SECONDS(t_state.txn_conf->transaction_no_activity_timeout_out)); t_state.api_next_action = HttpTransact::SM_ACTION_API_SEND_REQUEST_HDR; do_api_callout(); }