masaori335 commented on pull request #7605:
URL: https://github.com/apache/trafficserver/pull/7605#issuecomment-803717642


   > Is there a reason we don't handle the EOS appropriately? 
   
   The HttpSM is in the `state_watch_for_client_abort` state and it kills 
HttpTunnel on EOS if `ua_txn->allow_half_open()` returns `false`. Checking what 
HttpTunnel is doing might be another approach, but I'm not sure it's better 
than this.
   
https://github.com/apache/trafficserver/blob/42db8bb284d63e3f019e2d9d986e4d34f750f69a/proxy/http/HttpSM.cc#L975-L993
   
   
   > Do we also disable reads from the client in the HTTP/2 case? If so, then 
how does that work for bidirectional communication with HTTP/2?
   
   With HTTP/2, this change disables the read of Http2Stream (just resets 
`Http2Stream::read_vio` which is used for receiving a request from the client 
on the stream). 
   The read op of HTTP/2 *connection* is still available.
   
   


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