12 Commits

Author SHA1 Message Date
Delyan Angelov
37e2fdbafb
net.mbedtls: support compiling with -d mbedtls_client_read_timeout_ms=7000, -d mbedtls_server_read_timeout_ms=60000, and -d trace_mbedtls_timeouts 2024-12-01 20:10:14 +02:00
Delyan Angelov
9f6150ee7b
net.mbedtls: bump mbedtls_ssl_conf_read_timeout value to 550ms (tested with v run examples/net_t.v) 2024-11-21 00:15:18 +02:00
Delyan Angelov
4b015c8bc0
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) 2024-11-20 23:42:19 +02:00
yuyi
da3112e545
all: replace fn name '@xxx' with 'xxx' (#22506) 2024-10-12 22:17:02 +03:00
yuyi
008aaad999
fmt: remove the prefixed module name of const names, that are in the same module (related #22183) (#22185) 2024-09-10 11:25:56 +03:00
Martin Skou
f002fd4493
net.mbedtls: store the client ip (for ipv4), shutdown on handshake failure, in .accept() (#22184) 2024-09-09 18:55:28 +03:00
Martin Skou
d7bdb72b48
net.mbedtls: support Server Name Indication (SNI) (#22012) 2024-08-11 20:26:13 +03:00
yuyi
c51d30bf53
fmt: fix alignment of struct init fields (#22025) 2024-08-11 09:11:24 +03:00
dasidiot
576a0abcc7
net: add net.Dialer and net.Connection interfaces, abstracting the different types of connections, already supported by the V network stack (#21657) 2024-08-05 18:16:06 +03:00
Turiiya
1a35a783f1
breaking,checker: disallow initializing private struct fields outside structs module (#21183) 2024-04-12 13:53:02 +03:00
Joe C
757929392e
all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
JalonSolov
01022e918e
flag,json,net: handle C calls in .v files (part of enabling -W impure-v as default) (#19779) 2023-11-06 14:27:00 +02:00