maskit commented on PR #11983: URL: https://github.com/apache/trafficserver/pull/11983#issuecomment-2613209777
`TLSBasicSupport` is available on 9.2.x as well, so a simple solution is using `dynamic_cast<TLSBasicSupport *>(netvc)` instead of `get_service()`. It'd look clean but comes with the cost of dynamic_cast. Another way is using `netvc->support_sni()`. It returns true only if the netvc is SSLNetVC. SNI is not involved here at all so it's confusing a little, but it would be faster. -- 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]
