maskit commented on code in PR #8963:
URL: https://github.com/apache/trafficserver/pull/8963#discussion_r921953327
##########
proxy/http/HttpTunnel.cc:
##########
@@ -984,11 +986,14 @@ HttpTunnel::producer_run(HttpTunnelProducer *p)
p->handler_state = HTTP_SM_POST_SUCCESS;
}
}
+ Debug("http_tunnel", "Start write vio %ld bytes", c_write);
// Start the writes now that we know we will consume all the initial data
c->write_vio = c->vc->do_io_write(this, c_write, c->buffer_reader);
ink_assert(c_write > 0);
if (c->write_vio == nullptr) {
consumer_handler(VC_EVENT_ERROR, c);
+ } else if (c->write_vio->ntodo() == 0 && c->alive) {
Review Comment:
Not just this line, but I don't get why these changes to HttpTunnel is
needed for H2 to Origin. I'm wondering (and concerned) if these affect H1 and
client transactions.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]