Repository: trafficserver Updated Branches: refs/heads/master 3c8cb52d4 -> e32adda26
Fix minor indentation style, since I noticed it Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/e32adda2 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/e32adda2 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/e32adda2 Branch: refs/heads/master Commit: e32adda2623194d2ab14d6aee3b0ec58a47f583c Parents: 3c8cb52 Author: Leif Hedstrom <[email protected]> Authored: Fri Nov 21 08:22:40 2014 -0700 Committer: Leif Hedstrom <[email protected]> Committed: Fri Nov 21 08:22:42 2014 -0700 ---------------------------------------------------------------------- proxy/http/HttpTunnel.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/e32adda2/proxy/http/HttpTunnel.cc ---------------------------------------------------------------------- diff --git a/proxy/http/HttpTunnel.cc b/proxy/http/HttpTunnel.cc index 4a76558..c494868 100644 --- a/proxy/http/HttpTunnel.cc +++ b/proxy/http/HttpTunnel.cc @@ -1228,6 +1228,7 @@ HttpTunnel::consumer_reenable(HttpTunnelConsumer* c) { HttpTunnelProducer* p = c->producer; HttpTunnelProducer* srcp = p->flow_control_source; + if (p->alive #ifndef LAZY_BUF_ALLOC && p->read_buffer->write_avail() > 0 @@ -1238,8 +1239,7 @@ HttpTunnel::consumer_reenable(HttpTunnelConsumer* c) // the backlog short cuts quit when the value is equal (or // greater) to the target, we use strict comparison only for // checking low water, otherwise the flow control can stall out. - uint64_t backlog = (flow_state.enabled_p && p->is_source()) - ? p->backlog(flow_state.high_water) : 0; + uint64_t backlog = (flow_state.enabled_p && p->is_source()) ? p->backlog(flow_state.high_water) : 0; if (backlog >= flow_state.high_water) { if (is_debug_tag_set("http_tunnel"))
