shinrich commented on code in PR #12561:
URL: https://github.com/apache/trafficserver/pull/12561#discussion_r2446295076


##########
src/proxy/http/HttpSM.cc:
##########
@@ -3425,9 +3425,9 @@ HttpSM::tunnel_handler_100_continue_ua(int event, 
HttpTunnelConsumer *c)
     _ua.get_entry()->in_tunnel = false;
     c->write_success           = true;
 
-    // remove the buffer reader from the consumer's vc
+    // Disable any write operation in case there are timeout events.
     if (c->vc != nullptr) {
-      c->vc->do_io_write();
+      c->vc->do_io_write(nullptr, 0, nullptr);

Review Comment:
   You may want to pass in "this" as the first argument.  I've had problems 
before with state machines getting lost because a terminal event is delivered 
to a VIO with no continuation to deliver the terminal event to.



-- 
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]

Reply via email to