Repository: trafficserver Updated Branches: refs/heads/master a6be9807a -> 269b89f72
TS-3439: Chunked responses don't honor keep-alive Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/d129f314 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/d129f314 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/d129f314 Branch: refs/heads/master Commit: d129f31402abf99431ad4a3dea5429e6aeb31b58 Parents: a6be980 Author: Brian Geffon <bri...@apache.org> Authored: Fri Mar 13 15:52:06 2015 -0700 Committer: Brian Geffon <bri...@apache.org> Committed: Fri Mar 13 15:52:06 2015 -0700 ---------------------------------------------------------------------- proxy/http/HttpSM.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/d129f314/proxy/http/HttpSM.cc ---------------------------------------------------------------------- diff --git a/proxy/http/HttpSM.cc b/proxy/http/HttpSM.cc index bdbe1d0..80c9bc5 100644 --- a/proxy/http/HttpSM.cc +++ b/proxy/http/HttpSM.cc @@ -2904,7 +2904,8 @@ HttpSM::tunnel_handler_server(int event, HttpTunnelProducer * p) bool close_connection = false; if (t_state.current.server->keep_alive == HTTP_KEEPALIVE && - server_entry->eos == false && plugin_tunnel_type == HTTP_NO_PLUGIN_TUNNEL) { + server_entry->eos == false && plugin_tunnel_type == HTTP_NO_PLUGIN_TUNNEL && + t_state.txn_conf->keep_alive_enabled_out == 1) { close_connection = false; } else { close_connection = true;