Repository: trafficserver Updated Branches: refs/heads/master d89f702d1 -> 1164f9d50
TS-3324 If a chunked fetch from origin dies due to inactivity timeout, truncated cache entry can be created Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/1164f9d5 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/1164f9d5 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/1164f9d5 Branch: refs/heads/master Commit: 1164f9d503146298f0bc522bb582c062e0af5274 Parents: d89f702 Author: William Bardwell <[email protected]> Authored: Wed Jan 28 12:53:53 2015 -0500 Committer: William Bardwell <[email protected]> Committed: Wed Jan 28 13:27:32 2015 -0500 ---------------------------------------------------------------------- CHANGES | 2 ++ proxy/http/HttpTunnel.cc | 2 ++ 2 files changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/1164f9d5/CHANGES ---------------------------------------------------------------------- diff --git a/CHANGES b/CHANGES index 79fd869..6ad288c 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,8 @@ -*- coding: utf-8 -*- Changes with Apache Traffic Server 5.3.0 + *) [TS-3324] If a chunked fetch from origin dies due to inactivity timeout, truncated cache entry can be created + *) [TS-3325] TSHttpTxnConfigIntSet(txn, TS_CONFIG_HTTP_CACHE_HTTP, 0) can crash *) [TS-3338] Update the list of gauges in the epic plugin. http://git-wip-us.apache.org/repos/asf/trafficserver/blob/1164f9d5/proxy/http/HttpTunnel.cc ---------------------------------------------------------------------- diff --git a/proxy/http/HttpTunnel.cc b/proxy/http/HttpTunnel.cc index d75b5a1..daafab6 100644 --- a/proxy/http/HttpTunnel.cc +++ b/proxy/http/HttpTunnel.cc @@ -1037,6 +1037,7 @@ HttpTunnel::producer_handler_chunked(int event, HttpTunnelProducer * p) switch (event) { case VC_EVENT_READ_READY: case VC_EVENT_READ_COMPLETE: + case VC_EVENT_INACTIVITY_TIMEOUT: case HTTP_TUNNEL_EVENT_PRECOMPLETE: case VC_EVENT_EOS: break; @@ -1068,6 +1069,7 @@ HttpTunnel::producer_handler_chunked(int event, HttpTunnelProducer * p) case HTTP_TUNNEL_EVENT_PRECOMPLETE: case VC_EVENT_EOS: case VC_EVENT_READ_COMPLETE: + case VC_EVENT_INACTIVITY_TIMEOUT: if (!done) { p->chunked_handler.truncation = true; }
