shinrich opened a new pull request #7352:
URL: https://github.com/apache/trafficserver/pull/7352


   I ran across this while debugging gRPC on my HTTP/2 to origin branch.
   
   One case was terminating early, and looking at the HttpSM history, the 
response tunnel sm handler and executed but neither the producer nor consumer 
handlers handlers had executed.  After an hour or so of staring, I realized 
that the tunnel.call_sm had been set from processing the post body, but had not 
been cleared before executing the response body.  So after the first event to 
the HttpTunnel, the final HttpSM handler would be called.
   
   I'm breaking this out to integrate into ATS sooner.  This logic has been 
present since April 2016.  For most transactions there is either a complex post 
body or a complex response body but not both.  gRPC breaks that assumption.  
But I assume we had a certain amount of background failures due to this.  They 
will appear as early terminations, and for most traffic should not occur that 
often.  Or I would assume that we would have noticed this before now.


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