Skip to content

Commit

Permalink
net.mbedtls: bump mbedtls_ssl_conf_read_timeout value to 550ms (teste…
Browse files Browse the repository at this point in the history
…d with `v run examples/net_t.v`)
  • Loading branch information
spytheman committed Nov 20, 2024
1 parent 4b015c8 commit 9f6150e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlib/net/mbedtls/ssl_connection.c.v
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9f6150e

Please sign in to comment.