trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bc...@apache.org
Subject [1/2] trafficserver git commit: TS-3487: Cannot override proxy.config.http.transaction_no_activity_timeout_in per remap rule for POST methold
Date Thu, 25 Jun 2015 23:28:48 GMT
Repository: trafficserver
Updated Branches:
  refs/heads/master 96bd1fa78 -> 4377dabd0


TS-3487: Cannot override proxy.config.http.transaction_no_activity_timeout_in per remap rule
for POST methold


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/737e8cdf
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/737e8cdf
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/737e8cdf

Branch: refs/heads/master
Commit: 737e8cdfbc2126d0f08b0a9bb3546d7ee86707a5
Parents: 96bd1fa
Author: Feifei Cai <ffcai@yahoo-inc.com>
Authored: Thu Jun 25 13:33:11 2015 -0700
Committer: Bryan Call <bcall@apache.org>
Committed: Thu Jun 25 13:33:11 2015 -0700

----------------------------------------------------------------------
 proxy/http/HttpSM.cc | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/737e8cdf/proxy/http/HttpSM.cc
----------------------------------------------------------------------
diff --git a/proxy/http/HttpSM.cc b/proxy/http/HttpSM.cc
index 67e5710..1de4acc 100644
--- a/proxy/http/HttpSM.cc
+++ b/proxy/http/HttpSM.cc
@@ -5379,6 +5379,9 @@ HttpSM::do_setup_post_tunnel(HttpVC_t to_vc_type)
   if (chunked)
     tunnel.set_producer_chunking_action(p, 0, TCA_PASSTHRU_CHUNKED_CONTENT);
 
+  ua_session->get_netvc()->set_inactivity_timeout(HRTIME_SECONDS(t_state.txn_conf->transaction_no_activity_timeout_in));
+  server_session->get_netvc()->set_inactivity_timeout(HRTIME_SECONDS(t_state.txn_conf->transaction_no_activity_timeout_out));
+
   tunnel.tunnel_run(p);
 
   // If we're half closed, we got a FIN from the client. Forward it on to the origin server


Mime
View raw message