File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1236,7 +1236,7 @@ HttpTunnel::consumer_reenable(HttpTunnelConsumer *c)
12361236{
12371237 HttpTunnelProducer *p = c->producer ;
12381238
1239- if (p && p->alive && p-> read_buffer -> write_avail () > 0 ) {
1239+ if (p && p->alive ) {
12401240 // Only do flow control if enabled and the producer is an external
12411241 // source. Otherwise disable by making the backlog zero. Because
12421242 // the backlog short cuts quit when the value is equal (or
@@ -1376,7 +1376,7 @@ HttpTunnel::consumer_handler(int event, HttpTunnelConsumer *c)
13761376 // the SM since the reenabling has the side effect
13771377 // updating the buffer state for the VConnection
13781378 // that is being reenabled
1379- if (p->alive && p->read_vio && p-> read_buffer -> write_avail () > 0 ) {
1379+ if (p->alive && p->read_vio ) {
13801380 if (p->is_throttled ()) {
13811381 this ->consumer_reenable (c);
13821382 } else {
You can’t perform that action at this time.
0 commit comments