This is an automated email from the ASF dual-hosted git repository. masaori pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push: new cfe3fb4 Fix indents in HttpTunnel.cc made by unifdef LAZY_BUF_ALLOC cfe3fb4 is described below commit cfe3fb43f38d5fc28f8f3c3625ae304782647ed0 Author: Masaori Koshiba <masa...@apache.org> AuthorDate: Wed Jul 10 14:45:53 2019 +0900 Fix indents in HttpTunnel.cc made by unifdef LAZY_BUF_ALLOC --- proxy/http/HttpTunnel.cc | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/proxy/http/HttpTunnel.cc b/proxy/http/HttpTunnel.cc index 577cf18..b08ddcc 100644 --- a/proxy/http/HttpTunnel.cc +++ b/proxy/http/HttpTunnel.cc @@ -1212,9 +1212,7 @@ HttpTunnel::consumer_reenable(HttpTunnelConsumer *c) { HttpTunnelProducer *p = c->producer; - if (p && p->alive && p->read_buffer->write_avail() > 0 - - ) { + if (p && p->alive && p->read_buffer->write_avail() > 0) { // Only do flow control if enabled and the producer is an external // source. Otherwise disable by making the backlog zero. Because // the backlog short cuts quit when the value is equal (or @@ -1335,11 +1333,7 @@ HttpTunnel::consumer_handler(int event, HttpTunnelConsumer *c) // the SM since the reenabling has the side effect // updating the buffer state for the VConnection // that is being reenabled - if (p->alive && p->read_vio - - && p->read_buffer->write_avail() > 0 - - ) { + if (p->alive && p->read_vio && p->read_buffer->write_avail() > 0) { if (p->is_throttled()) { this->consumer_reenable(c); } else {