From 9f6150ee7bcde6887f53a6036a2655452b0ad7c4 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Thu, 21 Nov 2024 00:15:18 +0200 Subject: [PATCH] net.mbedtls: bump mbedtls_ssl_conf_read_timeout value to 550ms (tested with `v run examples/net_t.v`) --- vlib/net/mbedtls/ssl_connection.c.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/net/mbedtls/ssl_connection.c.v b/vlib/net/mbedtls/ssl_connection.c.v index e0c9a58b26f12a..11f97861960458 100644 --- a/vlib/net/mbedtls/ssl_connection.c.v +++ b/vlib/net/mbedtls/ssl_connection.c.v @@ -371,7 +371,7 @@ fn (mut s SSLConn) init() ! { if ret != 0 { return error_with_code('Failed to set SSL configuration', ret) } - C.mbedtls_ssl_conf_read_timeout(&s.conf, 317) + C.mbedtls_ssl_conf_read_timeout(&s.conf, 550) unsafe { C.mbedtls_ssl_conf_rng(&s.conf, C.mbedtls_ctr_drbg_random, &ctr_drbg)