781 Commits

Author SHA1 Message Date
D4MI4NX
51552c7b16
net.http: remove debug println statement from post_multipart_form (#25030) 2025-08-03 10:04:49 +03:00
Delyan Angelov
ec5eeb57b2
net.http: fix panic in parse_multipart_form for invalid boundary (fix #24974) (#24976) 2025-07-25 21:30:36 +03:00
Delyan Angelov
e22f4d2979
ci: retry 2 times vlib/net/http/server_test.v to avoid false positives for unrelated commits/PRs 2025-07-25 09:05:24 +03:00
Alexander Medvednikov
d87b8c2627 checker: improve virtual C consts 2025-07-19 19:27:59 +03:00
Alexander Medvednikov
f683ab69d6 net.http: handle Content-Length: 0 2025-07-08 13:54:19 +03:00
Delyan Angelov
4db6408e0b ci: mark tcp_test.v and unix_socket_test.v as flaky (they still fail sporadically on the CI, although very rarely now) 2025-07-06 21:32:40 +03:00
Delyan Angelov
99be39cbd1
ci: remove the // vtest flaky: true tags from the remaining tests (#24379) 2025-06-19 20:16:49 +03:00
Laurent Cheylus
2bc5887398
net.http: set the IP address for the HTTP server during tests (fix #22126) (#24698) 2025-06-11 18:46:22 +03:00
kbkpbot
1274cdc344
thirdparty: upgrade to mbedtls v3.6.3.1, add a .patch file with the local changes (#24602) 2025-05-31 12:02:37 +03:00
Laurent Cheylus
a8aeae2111
net.openssl: replace SSL_get1_peer_certificate by SSL_get_peer_certificate for OpenBSD (#24556)
OpenBSD uses LibreSSL (OpenSSL fork) by default for libssl/libcrypto.
SSL_get1_peer_certificate is not supported by LibreSSL, replace it by
SSL_get_peer_certificate.
2025-05-23 16:15:48 +03:00
Delyan Angelov
171df75cc7
veb: reduce veb_max_write_bytes from 16KB to 2KB (fix sending large dynamic responses from veb on macos/freebsd) (fix #24523) (#24522) 2025-05-19 15:30:21 +03:00
Delyan Angelov
811d486733
tests: use another web service in http_httpbin_test.v, instead of httpbin.org (which is slow and is not reliable anymore for the CI) 2025-05-15 20:39:19 +03:00
Delyan Angelov
ded45dce4c net.http: support v -http -d http_folder=vlib/_docs (allow customizing the folder, port, and index file through CLI arguments to v -http) 2025-05-14 21:54:21 +03:00
Delyan Angelov
a1d94500e6
all: remove deprecations made before 2024-11-06 2025-05-05 09:31:32 +03:00
Delyan Angelov
59909cde89
ci: use windows-2025 for the gcc-windows job (since it has gcc 14.2.0) (#24304) 2025-04-24 13:03:25 +03:00
leopardracer
f3fb8b46ad
flag,net.websocket: fix typos in errors, traces and comments (#24251) 2025-04-16 17:34:15 +03:00
larpon
20d7d9758b
net: make close/0, select/2 and remote/0 methods of UdpSocket pub (#24004) 2025-03-22 16:41:32 +02:00
larpon
bd064dd695
net: add read_ptr/2 (from read/1) to UdpConn for consistency with TcpConn (#24000) 2025-03-21 23:49:31 +02:00
Delyan Angelov
a80bc23314
tools: cleanup entries from the hardcoded skip_files list in common.v (used by v test, v test-self etc); use the new // vtest build: syntax to mark the tests instead (#23918) 2025-03-13 19:51:51 +02:00
Alexander Medvednikov
951d30405f builtin: string.index_after() ?int 2025-03-12 23:03:25 +03:00
Delyan Angelov
4c8f8c6666
net.openssl: use proper library search path for local installations of OpenSSL 3, use SSL_get1_peer_certificate instead of the deprecated SSL_get_peer_certificate . 2025-03-02 09:39:21 +02:00
kilavvy
8aef3c72b4
all: fix typos in documentation files (#23822) 2025-02-28 02:42:55 +03:00
Delyan Angelov
da093882f7
net.unix: make unix_socket_test.v trace its actions more thoroughly 2025-02-17 22:26:53 +02:00
Delyan Angelov
55f482bb63
ci: update linux image runners from ubuntu-20.04 to ubuntu-24.04 (#23706) 2025-02-17 07:37:59 +02:00
kbkpbot
f053f99406
net.http.file: use urllib decode uri, to handle urls to files that have unicode characters in their name (fix #23683) (#23684) 2025-02-10 21:36:56 +02:00
Emma
6b92f8fada
all: remove ancient deprecations (#23479) 2025-01-16 16:36:12 +02:00
Thomas Peißl
d680c4227b
net.smtp: make public the Attachment fields (to be used as plain structs in initialisation) (#23477) 2025-01-15 20:24:36 +02:00
Alexander Medvednikov
6f7cbd1aef net.ftp: use unsafe { nil } 2025-01-14 02:01:07 +03:00
Delyan Angelov
e983d75b64
markused,builtin,strconv,vlib: reduce generated C sizes for compilers != tcc, for short programs, by simplifying the generation of backtraces, and reducing string interpolations in panics (#23380) 2025-01-06 08:23:56 +02:00
JalonSolov
0351332761
net.http.cookie: handle value with = better (fix #23297) (#23300) 2024-12-28 22:40:23 +02:00
Felipe Pena
6025893768
net.smtp: fix crash when reconnecting with .encrypted=true (fix #23289) (#23290) 2024-12-27 21:51:22 +02:00
kbkpbot
4a1c7add24
net.http: add support '=' in cookie values (fix #23220) (#23257) 2024-12-27 10:33:16 +02:00
Felipe Pena
b0772193f8
vlib: enable more satnitized memleak detection runs without false positives on the CI (#23200) 2024-12-20 16:09:16 +02:00
kbkpbot
03f3f7a9ff
net.urllib: fix parse of url relative address (fix #21061) (#23180) 2024-12-16 16:59:58 +02:00
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
Vithorio Polten
f89cffad53
net.http: send Host headers with port (when the port is != 80 or 443) (fix #22941) (#22942) 2024-11-23 18:51:28 +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
Delyan Angelov
5bba92a65a
vlib: remove modules/functions/fields, deprecated in 2023 (#22750) 2024-11-17 20:09:21 +02:00
Felipe Pena
62bdf990d0
checker: fix missing or-block check for callexpr (fix #22835) (#22840) 2024-11-13 12:30:06 +02:00
Delyan Angelov
4aa87796ed
net.http: ensure that http.download_file_with_progress/3 works (in a degraded mode), on windows, even without passing -d no_vschannel 2024-11-13 11:43:37 +02:00
Delyan Angelov
a189d7f8e8
net: fix resolving of ::1:48872 (pass the *should_listen_on_both_ipv4_and_ipv6_by_default_test.v tests) (#22715) 2024-10-31 18:22:25 +02:00
Alexander Medvednikov
27ff2f1628 orm: cross compile pg to linux; openssl: make cross compile work 2024-10-28 17:37:34 +03:00
Hitalo Souza
4e13ddf847
picoev,net.http: use Time.http_header_string method, to improve performance (#22619) 2024-10-22 16:39:48 +03:00
yuyi
e97036a25b
v: remove the automatic passing of structs with more than 8 fields by reference (related #17159) (#22547) 2024-10-17 11:04:23 +03:00
yuyi
da3112e545
all: replace fn name '@xxx' with 'xxx' (#22506) 2024-10-12 22:17:02 +03:00
yuyi
79786732ef
all: replace struct field name '@type' with 'type' (#22485) 2024-10-11 08:53:18 +03:00
Carlos Esquerdo Bernat
d1606b22b7
net: allow for a ::ffff:127.0.0.1 result in tcp_simple_client_server_test.v (#22385) 2024-10-02 17:31:01 +03:00
Carlos Esquerdo Bernat
e598db12d3
net: add more SocketOptions enum values, make public fn new_tcp_socket (#22378) 2024-10-01 11:42:30 +03:00
Felipe Pena
04aba8f767
net: fix split_address (fix #14909) (#22349) 2024-09-30 08:25:39 +03:00