mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
net.mbedtls: define MBEDTLS_THREADING_PTHREAD, in mbedtls_config.h; call C.mbedtls_ssl_conf_read_timeout explicitly in the wrapper, with a shorter timeout value of 317ms (determined experimentally)
This commit is contained in:
parent
fbc3fc6fcf
commit
4b015c8bc0
3 changed files with 9 additions and 3 deletions
|
@ -1903,7 +1903,7 @@
|
|||
*
|
||||
* Uncomment this to enable pthread mutexes.
|
||||
*/
|
||||
//#define MBEDTLS_THREADING_PTHREAD
|
||||
#define MBEDTLS_THREADING_PTHREAD
|
||||
|
||||
/**
|
||||
* \def MBEDTLS_USE_PSA_CRYPTO
|
||||
|
@ -3283,7 +3283,7 @@
|
|||
*
|
||||
* Enable this layer to allow use of mutexes within mbed TLS
|
||||
*/
|
||||
//#define MBEDTLS_THREADING_C
|
||||
#define MBEDTLS_THREADING_C
|
||||
|
||||
/**
|
||||
* \def MBEDTLS_TIMING_C
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue