trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bc...@apache.org
Subject [2/4] trafficserver git commit: TS-3487: Cannot override proxy.config.http.transaction_no_activity_timeout_in per remap rule for POST methold
Date Fri, 26 Jun 2015 18:01:52 GMT
TS-3487: Cannot override proxy.config.http.transaction_no_activity_timeout_in per remap rule
for POST methold

(cherry picked from commit 737e8cdfbc2126d0f08b0a9bb3546d7ee86707a5)


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

Branch: refs/heads/6.0.x
Commit: 804fa87e21f875c23704dac0340b5d402833a3e4
Parents: 8768f6f
Author: Feifei Cai <ffcai@yahoo-inc.com>
Authored: Thu Jun 25 13:33:11 2015 -0700
Committer: Bryan Call <bcall@apache.org>
Committed: Fri Jun 26 10:27:02 2015 -0700

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


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/804fa87e/proxy/http/HttpSM.cc
----------------------------------------------------------------------
diff --git a/proxy/http/HttpSM.cc b/proxy/http/HttpSM.cc
index 2942649..307a18f 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