Repository: trafficserver Updated Branches: refs/heads/master 60c97c6f0 -> 1f1e2ae15
TS-1475: fix clang warning Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/1f1e2ae1 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/1f1e2ae1 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/1f1e2ae1 Branch: refs/heads/master Commit: 1f1e2ae1549ae4568d2e42774f24639d6cb3aadf Parents: 60c97c6 Author: Phil Sorber <[email protected]> Authored: Wed Dec 10 09:23:12 2014 -0700 Committer: Phil Sorber <[email protected]> Committed: Wed Dec 10 09:23:12 2014 -0700 ---------------------------------------------------------------------- proxy/http/HttpTunnel.cc | 3 +-- proxy/http/HttpTunnel.h | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/1f1e2ae1/proxy/http/HttpTunnel.cc ---------------------------------------------------------------------- diff --git a/proxy/http/HttpTunnel.cc b/proxy/http/HttpTunnel.cc index ac89726..ac15a02 100644 --- a/proxy/http/HttpTunnel.cc +++ b/proxy/http/HttpTunnel.cc @@ -1222,7 +1222,7 @@ bool HttpTunnel::producer_handler(int event, HttpTunnelProducer * p) return sm_callback; } -bool +void HttpTunnel::consumer_reenable(HttpTunnelConsumer* c) { HttpTunnelProducer* p = c->producer; @@ -1274,7 +1274,6 @@ HttpTunnel::consumer_reenable(HttpTunnelConsumer* c) p->read_vio->reenable(); } } - return p->is_throttled(); } // http://git-wip-us.apache.org/repos/asf/trafficserver/blob/1f1e2ae1/proxy/http/HttpTunnel.h ---------------------------------------------------------------------- diff --git a/proxy/http/HttpTunnel.h b/proxy/http/HttpTunnel.h index 6c1e21f..3f94d29 100644 --- a/proxy/http/HttpTunnel.h +++ b/proxy/http/HttpTunnel.h @@ -340,7 +340,7 @@ public: void tunnel_run(HttpTunnelProducer * p = NULL); int main_handler(int event, void *data); - bool consumer_reenable(HttpTunnelConsumer* c); + void consumer_reenable(HttpTunnelConsumer* c); bool consumer_handler(int event, HttpTunnelConsumer * c); bool producer_handler(int event, HttpTunnelProducer * p); int producer_handler_dechunked(int event, HttpTunnelProducer * p);
