From 6298f3709c3d10cd3786b166837a6da74e347146 Mon Sep 17 00:00:00 2001 From: Ludovic Chenut Date: Thu, 7 Mar 2024 16:28:37 +0100 Subject: [PATCH] try ci without dtls timer callback --- webrtc/dtls/dtls.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webrtc/dtls/dtls.nim b/webrtc/dtls/dtls.nim index b09a888..2d19ab5 100644 --- a/webrtc/dtls/dtls.nim +++ b/webrtc/dtls/dtls.nim @@ -312,7 +312,7 @@ proc accept*(self: Dtls): Future[DtlsConn] {.async.} = mb_ssl_conf_own_cert(res.config, srvcert, pkey) mb_ssl_cookie_setup(res.cookie, mbedtls_ctr_drbg_random, res.ctr_drbg) mb_ssl_conf_dtls_cookies(res.config, res.cookie) - mb_ssl_set_timer_cb(res.ssl, res.timer) + #mb_ssl_set_timer_cb(res.ssl, res.timer) mb_ssl_setup(res.ssl, res.config) mb_ssl_session_reset(res.ssl) mb_ssl_set_verify(res.ssl, verify, res) @@ -361,7 +361,7 @@ proc connect*(self: Dtls, raddr: TransportAddress): Future[DtlsConn] {.async.} = mb_ssl_conf_rng(res.config, mbedtls_ctr_drbg_random, res.ctr_drbg) mb_ssl_conf_read_timeout(res.config, 10000) # in milliseconds mb_ssl_conf_ca_chain(res.config, srvcert.next, nil) - mb_ssl_set_timer_cb(res.ssl, res.timer) + #mb_ssl_set_timer_cb(res.ssl, res.timer) mb_ssl_setup(res.ssl, res.config) mb_ssl_set_verify(res.ssl, verify, res) mb_ssl_conf_authmode(res.config, MBEDTLS_SSL_VERIFY_OPTIONAL)