bneradt commented on code in PR #13213:
URL: https://github.com/apache/trafficserver/pull/13213#discussion_r3327314225


##########
src/iocore/net/quic/QUICStreamVCAdapter.cc:
##########
@@ -321,8 +345,12 @@ QUICStreamVCAdapter::do_io_shutdown(ShutdownHowTo_t /* 
howto ATS_UNUSED */)
 }
 
 void
-QUICStreamVCAdapter::reenable(VIO * /* vio ATS_UNUSED */)
+QUICStreamVCAdapter::reenable(VIO *vio)
 {
+  if (vio != nullptr && vio->op == VIO::WRITE && vio->get_reader() != nullptr 
&& vio->get_reader()->read_avail() > 0) {
+    this->stream().on_write();
+  }

Review Comment:
   Fixed. reenable() now wakes the QUIC stream when either buffered write data 
exists or a finite write VIO has completed with only FIN left to send.



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