maskit commented on issue #7115:
URL: https://github.com/apache/trafficserver/issues/7115#issuecomment-673779065


   The stream seems like to be created by receiving RESET_STREAM frame 
according to `_state` below. If so, uninitialized `_write_vio` makes sense 
because no data would be transferred between the stream and the application.  
We probably need to add a check for availability of `_write_vio`.
   
   this->_state
   ```
     _state = {
       <QUICStreamStateMachine<QUICBidirectionalStreamState>> = {
         _vptr.QUICStreamStateMachine = 0xbe8c98 <vtable for 
QUICBidirectionalStreamStateMachine+16>, 
         _state = QUICBidirectionalStreamState::Init
       }, 
       members of QUICBidirectionalStreamStateMachine: 
       _send_stream_state = {
         <QUICUnidirectionalStreamStateMachine> = {
           _in_progress = 0x0, 
           _out_progress = 0x2acd3320c208
         }, 
         <QUICStreamStateMachine<QUICSendStreamState>> = {
           _vptr.QUICStreamStateMachine = 0xbe8cf0 <vtable for 
QUICSendStreamStateMachine+16>, 
           _state = QUICSendStreamState::Ready
         }, <No data fields>}, 
       _recv_stream_state = {
         <QUICUnidirectionalStreamStateMachine> = {
           _in_progress = 0x2acd3320c1e0, 
           _out_progress = 0x0
         }, 
         <QUICStreamStateMachine<QUICReceiveStreamState>> = {
           _vptr.QUICStreamStateMachine = 0xbe8d48 <vtable for 
QUICReceiveStreamStateMachine+16>, 
           _state = QUICReceiveStreamState::ResetRecvd
         }, <No data fields>}
     }
   ```


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to