maskit commented on a change in pull request #8165:
URL: https://github.com/apache/trafficserver/pull/8165#discussion_r676263459



##########
File path: src/traffic_server/InkAPI.cc
##########
@@ -9306,6 +9306,26 @@ TSVConnSslConnectionGet(TSVConn sslp)
   return ssl;
 }
 
+const char *
+TSSslSNIGet(TSVConn sslp, int *length)
+{
+  char const *server_name   = nullptr;
+  NetVConnection *vc        = reinterpret_cast<NetVConnection *>(sslp);
+  SSLNetVConnection *ssl_vc = dynamic_cast<SSLNetVConnection *>(vc);

Review comment:
       We don't need SSLNetVC here because `get_server_name()` is declared in 
`NetVConnection`.




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