You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by GitBox <gi...@apache.org> on 2021/05/26 07:21:43 UTC

[GitHub] [trafficserver] masaori335 commented on a change in pull request #7878: Cleanup: Get rid of HTTP2_SESSION_EVENT_INIT

masaori335 commented on a change in pull request #7878:
URL: https://github.com/apache/trafficserver/pull/7878#discussion_r639463956



##########
File path: proxy/http2/Http2ConnectionState.cc
##########
@@ -1100,33 +1125,6 @@ Http2ConnectionState::main_event_handler(int event, void *edata)
   }
   ++recursion;
   switch (event) {
-  // Initialize HTTP/2 Connection
-  case HTTP2_SESSION_EVENT_INIT: {
-    ink_assert(this->ua_session == nullptr);
-    this->ua_session = static_cast<Http2ClientSession *>(edata);
-    REMEMBER(event, this->recursion);

Review comment:
       Fair enough, I'll back REMEMBER.




-- 
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:
users@infra.apache.org