You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This function was written before we started using rustls_str, and it uses the pattern of writing to a caller-provided buffer. That pattern is quite awkward to use, and rustls_str fits better, so we should use that instead.
Note: #178 (lifetime issues for rustls_connection' getters) may get in the way, but I think the SNI field has the same set-once property we rely on for the other getters.
The text was updated successfully, but these errors were encountered:
cpu
changed the title
Change rustls_server_connection_get_sni_hostname to return rustls_str
Change rustls_server_connection_get_server_name to return rustls_str
Mar 31, 2024
This function was written before we started using rustls_str, and it uses the pattern of writing to a caller-provided buffer. That pattern is quite awkward to use, and rustls_str fits better, so we should use that instead.
Note: #178 (lifetime issues for rustls_connection' getters) may get in the way, but I think the SNI field has the same set-once property we rely on for the other getters.
The text was updated successfully, but these errors were encountered: