提交 06b813db authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

DtlsTransport: remove SSL_CTX_set_read_ahead() call which is noop in DTLS

上级 ff1ccef8
......@@ -549,11 +549,6 @@ namespace RTC
// Don't use sessions cache.
SSL_CTX_set_session_cache_mode(DtlsTransport::sslCtx, SSL_SESS_CACHE_OFF);
// Read always as much into the buffer as possible.
// NOTE: This is the default for DTLS, but a bug in non latest OpenSSL
// versions makes this call required.
SSL_CTX_set_read_ahead(DtlsTransport::sslCtx, 1);
SSL_CTX_set_verify_depth(DtlsTransport::sslCtx, 4);
// Require certificate from peer.
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论