Skip to content

tquic 如何保存skey文件 #302

Discussion options

You must be logged in to vote

使用quic_tls_config_new_with_ssl_ctx接口,需要在SSL_CTX中通过SSL_CTX_set_keylog_callback设置相关key log回调。

可以在客户端侧使用quic_tls_config_new_client_config创建tls_config_t结构:
const char* const protos[1] = {"http/0.9"};
client->tls_config = quic_tls_config_new_client_config(protos, 1, true);

Replies: 2 comments 1 reply

This comment was marked as off-topic.

Comment options

You must be logged in to vote
1 reply
@lion117
Comment options

Answer selected by lion117
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants