30 Commits

Author SHA1 Message Date
Swastik Baranwal
547c056bf4
net: fix TcpConn.peer_ip/0 to only return the ip address, without the port number (#21831) 2024-07-10 06:12:37 +03:00
Delyan Angelov
9f2cb8ccbb ci: mark again tcp_test.v as flaky (it had 3 unrelated failures on the CI over the last week) 2024-05-19 10:32:44 +03:00
Delyan Angelov
20f907a70d
ci: reduce false negatives for tcp_test.v, retry it 3 times before failing 2024-05-07 15:30:56 +03:00
Delyan Angelov
f603035758
net: reduce flakyness of tcp test (#20761) 2024-02-09 11:52:27 +02:00
Delyan Angelov
3142114bd7
net: remove unused import in tcp_test.v 2024-01-10 17:15:20 +02:00
Henrik Holst
e8e198c349
net: fix vlib/net/tcp_test.v (since .listen_tcp with af .unix, is now expected to return an error) (#20472) 2024-01-10 17:14:00 +02:00
Alexander Medvednikov
f09826e928 all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
Delyan Angelov
c552ecf2b0
ci: fix vlib/net/tcp_test.v (change return type of one_shot_echo_server from ? to !) 2023-09-30 19:56:40 +03:00
Delyan Angelov
6a32c81070
tests: extract slow tests (prod, valgrind, inout, repl etc), from vlib/v/tests/ to vlib/v/slow_tests/ (#16892) 2023-01-09 23:47:03 +02:00
yuyi
017ace6ea7
vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
Alexander Medvednikov
e81e0ac708 fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
yuyi
41dbd12bc4
tests: make error handling the same as the main function (#15825) 2022-09-21 19:45:43 +03:00
Delyan Angelov
26986eb2f8
tests: fix deprecation warning in tcp_test.v 2022-08-15 15:17:00 +03:00
Delyan Angelov
de0683fe30
tests: fix compilation of tcp_test.v 2022-07-23 23:33:43 +03:00
Delyan Angelov
231623b75b
ci: vfmt tcp_test.v 2022-07-21 22:04:51 +03:00
shove
b4ed5d5f20
net: add a net.dial_tcp_with_bind/2 function (#15055) (#15056) 2022-07-15 12:38:17 +03:00
Daniel Däschle
d679146a80
fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
Delyan Angelov
5277ce7dce
tests: support for marking _test.v files with // vtest flaky: true, to reduce false positives from the CI 2022-04-30 13:30:02 +03:00
Alexander Medvednikov
fb192d949b all: replace []byte with []u8 2022-04-15 15:35:35 +03:00
Delyan Angelov
8491e83e3f
ci: bump retries to 8 for vlib/net/tcp_test.v 2022-01-28 10:07:37 +02:00
Delyan Angelov
c26e040d33
ci: bump retry count to 5 for tcp_test.v 2021-12-26 19:05:05 +02:00
Delyan Angelov
6f7c3a7cdf
ci: do brew install openssl on the macos job, reduce flakyness of tcp_test.v 2021-10-01 13:13:05 +03:00
Emily Hudson
535dcac8fa
net: ipv6 support, merge unix+ip;[pack:x] attribute (#9904) 2021-06-13 23:53:38 +03:00
zakuro
c8416f9a54
all: deprecate write_str and replace it with write_string (#9369) 2021-03-20 17:25:51 +01:00
spaceface
b712af56fd
all: bring back panic(err.msg) -> panic(err) (#9022) 2021-03-01 00:18:14 +01:00
spaceface
d63b7bc35a
all: update repo to use the new error handling syntax (#8950) 2021-02-28 23:20:21 +03:00
Delyan Angelov
d92f5c55ba
net: use mut and refs as receivers consistently (#8205) 2021-01-20 11:11:01 +01:00
Delyan Angelov
a0b8191a94
net: cleanup unused time imports in tests 2021-01-10 18:59:06 +02:00
Delyan Angelov
e3a1756b11
net: add tcp_default_read_timeout and tcp_default_write_timeout and use them consistently 2020-12-15 17:54:51 +02:00
Emily Hudson
cd2a2cef25
vlib/net: add buffered IO, x.net -> net (#6754) 2020-11-15 22:54:47 +02:00