maskit opened a new issue #8044:
URL: https://github.com/apache/trafficserver/issues/8044


   The code below implies Http2Stream's event handler can be called from 
multiple threads, but I'm not sure if it really happens.
   
https://github.com/apache/trafficserver/blob/aa1d73b07fdb43f7e77f1fb72630f91a7086c366/proxy/http2/Http2Stream.cc#L143-L149
   
   @masaori335 says switching threads is necessary for global server session 
pool, but we have `UnixNetVConnection::migrateToCurrentThread` and I think it 
ensures a server session is always on the same thread as the client session.
   
   If `Http2Stream` is used always on the same thread we should be able to 
remove the logic, and it would improve performance.


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