zizhong commented on a change in pull request #7015:
URL: https://github.com/apache/trafficserver/pull/7015#discussion_r456869335



##########
File path: include/ts/ts.h
##########
@@ -2353,6 +2353,16 @@ tsapi const char *TSVConnSslProtocolGet(TSVConn sslp);
 */
 tsapi const char *TSVConnSslCurveGet(TSVConn sslp);
 
+/**
+   Return the current (if set) SSL Server Name. This is still owned by the
+   core, and must not be free'd.
+
+   @param txnp the transaction pointer
+
+   @return the SSL Curve
+*/
+tsapi const char *TSVConnSslServerNameGet(TSVConn sslp);

Review comment:
       1. update docs
   2. update tests. Would be perfect to cover for different protocols, 
including H1, H2 and Quic.




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